X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/f2863bc00ee660400c314a756d19ce5455dce87d..4c15e80040f6ac2fc79d599d1722cf209cc30536:/atimes.diff diff --git a/atimes.diff b/atimes.diff index 1b01c7e..d897f8a 100644 --- a/atimes.diff +++ b/atimes.diff @@ -143,7 +143,7 @@ diff --git a/generator.c b/generator.c #if !defined HAVE_LCHMOD && !defined HAVE_SETATTRLIST if (S_ISLNK(file->mode)) { ; -@@ -923,6 +927,8 @@ static int try_dests_reg(struct file_struct *file, char *fname, int ndx, +@@ -921,6 +925,8 @@ static int try_dests_reg(struct file_struct *file, char *fname, int ndx, if (link_dest) { if (!hard_link_one(file, fname, cmpbuf, 1)) goto try_a_copy; @@ -152,7 +152,7 @@ diff --git a/generator.c b/generator.c if (preserve_hard_links && F_IS_HLINKED(file)) finish_hard_link(file, fname, ndx, &sxp->st, itemizing, code, j); if (itemizing && (verbose > 1 || stdout_format_has_i > 1)) { -@@ -1113,6 +1119,7 @@ static int try_dests_non(struct file_struct *file, char *fname, int ndx, +@@ -1111,6 +1117,7 @@ static int try_dests_non(struct file_struct *file, char *fname, int ndx, static void list_file_entry(struct file_struct *f) { char permbuf[PERMSTRING_SIZE]; @@ -160,7 +160,7 @@ diff --git a/generator.c b/generator.c double len; if (!F_IS_ACTIVE(f)) { -@@ -1127,14 +1134,16 @@ static void list_file_entry(struct file_struct *f) +@@ -1125,14 +1132,16 @@ static void list_file_entry(struct file_struct *f) #ifdef SUPPORT_LINKS if (preserve_links && S_ISLNK(f->mode)) { @@ -179,7 +179,7 @@ diff --git a/generator.c b/generator.c f_name(f, NULL)); } } -@@ -1884,7 +1893,7 @@ static void touch_up_dirs(struct file_list *flist, int ndx) +@@ -1882,7 +1891,7 @@ static void touch_up_dirs(struct file_list *flist, int ndx) if (!(file->mode & S_IWUSR)) do_chmod(fname, file->mode); if (need_retouch_dir_times) @@ -563,7 +563,7 @@ diff --git a/util.c b/util.c t[0].tv_usec = 0; t[1].tv_sec = modtime; t[1].tv_usec = 0; -@@ -154,12 +158,12 @@ int set_modtime(const char *fname, time_t modtime, mode_t mode) +@@ -155,12 +159,12 @@ int set_modtime(const char *fname, time_t modtime, mode_t mode) return utimes(fname, t); #elif defined HAVE_STRUCT_UTIMBUF struct utimbuf tbuf;