Created
June 24, 2018 08:16
-
-
Save leonklingele/ea61f8b5de88027ef97638749daf896b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sshfs.c b/sshfs.c | |
index fb566f4..d1c1fb2 100644 | |
--- a/sshfs.c | |
+++ b/sshfs.c | |
@@ -3862,7 +3862,11 @@ | |
} | |
#endif /* __APPLE__ */ | |
- sshfs.blksize = 4096; | |
+#ifdef __APPLE__ | |
+ sshfs.blksize = 0; | |
+#else | |
+ sshfs.blksize = 4096; | |
+#endif | |
/* SFTP spec says all servers should allow at least 32k I/O */ | |
sshfs.max_read = 32768; | |
sshfs.max_write = 32768; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment