[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Sat Aug 28 19:03:21 MDT 2010


The branch, master has been updated
       via  ba342e2 Undo unintended mode-reference tweak.
      from  2935881 Fix description of how to force new prototype generation.

;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ba342e22e7caeb5ac3a7880b6a0572341ce5069c
Author: Wayne Davison <wayned at samba.org>
Date:   Sat Aug 28 18:02:22 2010 -0700

    Undo unintended mode-reference tweak.

-----------------------------------------------------------------------

Summary of changes:
 rsync.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/rsync.c b/rsync.c
index 91fb9e3..a0da86d 100644
--- a/rsync.c
+++ b/rsync.c
@@ -495,7 +495,7 @@ int set_file_attrs(const char *fname, struct file_struct *file, stat_x *sxp,
 		flags |= ATTRS_SKIP_MTIME;
 	if (!(flags & ATTRS_SKIP_MTIME)
 	    && cmp_time(sxp->st.st_mtime, file->modtime) != 0) {
-		int ret = set_modtime(fname, file->modtime, F_MOD_NSEC(file), file->mode);
+		int ret = set_modtime(fname, file->modtime, F_MOD_NSEC(file), sxp->st.st_mode);
 		if (ret < 0) {
 			rsyserr(FERROR_XFER, errno, "failed to set times on %s",
 				full_fname(fname));


-- 
The rsync repository.


More information about the rsync-cvs mailing list