[SCM] The rsync repository. - branch master updated
Rsync CVS commit messages
rsync-cvs at lists.samba.org
Tue Jan 15 17:00:32 UTC 2019
The branch, master has been updated
via c2da3809 Fix --prealloc to keep file-size 0 when possible.
from 48346c87 Reject --log-file when read-only.
https://git.samba.org/?p=rsync.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit c2da3809f714d936dec1cab6d5bf8b724b9cd113
Author: Wayne Davison <wayned at samba.org>
Date: Tue Jan 15 08:51:08 2019 -0800
Fix --prealloc to keep file-size 0 when possible.
-----------------------------------------------------------------------
Summary of changes:
syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/syscall.c b/syscall.c
index dbd556b8..0d1221b3 100644
--- a/syscall.c
+++ b/syscall.c
@@ -462,7 +462,7 @@ int do_utime(const char *fname, time_t modtime, UNUSED(uint32 mod_nsec))
OFF_T do_fallocate(int fd, OFF_T offset, OFF_T length)
{
- int opts = inplace || preallocate_files ? 0 : DO_FALLOC_OPTIONS;
+ int opts = inplace || preallocate_files ? DO_FALLOC_OPTIONS : 0;
int ret;
RETURN_ERROR_IF(dry_run, 0);
RETURN_ERROR_IF_RO_OR_LO;
--
The rsync repository.
More information about the rsync-cvs
mailing list