| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/fusefs-exfat/files/ |
Upload File : |
--- fuse/main.c.orig 2021-11-24 20:45:02 UTC
+++ fuse/main.c
@@ -451,7 +451,7 @@ static char* add_ro_option(char* options, bool ro)
return ro ? add_option(options, "ro", NULL) : options;
}
-#if defined(__linux__) || defined(__FreeBSD__)
+#if defined(__linux__)
static char* add_user_option(char* options)
{
struct passwd* pw;
@@ -492,12 +492,10 @@ static char* add_fuse_options(char* options, const cha
options = add_ro_option(options, ro);
if (options == NULL)
return NULL;
-#if defined(__linux__) || defined(__FreeBSD__)
+#if defined(__linux__)
options = add_user_option(options);
if (options == NULL)
return NULL;
-#endif
-#if defined(__linux__)
options = add_blksize_option(options, CLUSTER_SIZE(*ef.sb));
if (options == NULL)
return NULL;