diff options
| author | Kevin Lo <kevlo@FreeBSD.org> | 2016-03-09 02:21:21 +0000 |
|---|---|---|
| committer | Kevin Lo <kevlo@FreeBSD.org> | 2016-03-09 02:21:21 +0000 |
| commit | be19a7dce2e25305c0bbbd56bddc92fb7f2bc948 (patch) | |
| tree | c1cabfa55b7909a8432cfbda9c320bf8553b348e /sysutils/freefilesync/files/patch-fs_native.cpp | |
| parent | Update to 9.0.0 (diff) | |
Import freefilesync 7.9.
Freefilesync is a free open source software that helps you synchronize
files and synchronize folders for Windows, Linux, FreeBSD and Mac OS X.
Notes
Notes:
svn path=/head/; revision=410679
Diffstat (limited to 'sysutils/freefilesync/files/patch-fs_native.cpp')
| -rw-r--r-- | sysutils/freefilesync/files/patch-fs_native.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/freefilesync/files/patch-fs_native.cpp b/sysutils/freefilesync/files/patch-fs_native.cpp new file mode 100644 index 000000000000..49b4b60dac35 --- /dev/null +++ b/sysutils/freefilesync/files/patch-fs_native.cpp @@ -0,0 +1,12 @@ +--- fs/native.cpp.orig 2016-03-09 02:07:44 UTC ++++ fs/native.cpp +@@ -84,8 +84,7 @@ void preAllocateSpaceBestEffort(FileHand + + #elif defined ZEN_LINUX + //don't use potentially inefficient ::posix_fallocate! +- const int rv = ::fallocate(fh, //int fd, +- 0, //int mode, ++ const int rv = ::posix_fallocate(fh, //int fd, + 0, //off_t offset + streamSize); //off_t len + if (rv != 0) |
