diff options
author | Wayne Davison <wayned@samba.org> | 2009-09-07 13:49:52 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2009-09-07 14:11:58 -0700 |
commit | 1a2e41af941573e69c02370329afe0192b61f213 (patch) | |
tree | 9b48c9d023afa2f84374b97ff726bc1e773d5dd1 /rsync.c | |
parent | accc091fe9ebbb602bcf692c577486e62011d5c1 (diff) | |
download | rsync-1a2e41af941573e69c02370329afe0192b61f213.tar.gz rsync-1a2e41af941573e69c02370329afe0192b61f213.tar.bz2 rsync-1a2e41af941573e69c02370329afe0192b61f213.zip |
Add support for transferring & setting nsec time values.
Diffstat (limited to 'rsync.c')
-rw-r--r-- | rsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -435,7 +435,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, sxp->st.st_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)); |