Updated to apply cleanly.
[rsync/rsync-patches.git] / atimes.diff
index f731257..e96b702 100644 (file)
@@ -1,6 +1,6 @@
---- backup.c   13 Mar 2004 20:18:03 -0000      1.28
-+++ backup.c   20 Apr 2004 23:44:16 -0000
-@@ -101,7 +101,7 @@ static int make_bak_dir(char *fullpath)
+--- backup.c   4 May 2004 03:10:45 -0000       1.29
++++ backup.c   8 May 2004 18:35:15 -0000
+@@ -102,7 +102,7 @@ static int make_bak_dir(char *fullpath)
                                    "make_bak_dir stat %s failed: %s\n",
                                    full_fname(rel), strerror(errno));
                        } else {
@@ -10,7 +10,7 @@
                                do_chmod(fullpath, st.st_mode);
                        }
 --- batch.c    6 Mar 2004 07:45:52 -0000       1.31
-+++ batch.c    20 Apr 2004 23:44:16 -0000
++++ batch.c    8 May 2004 18:35:16 -0000
 @@ -342,6 +342,8 @@ void show_flist(int index, struct file_s
                rprintf(FINFO, "flist->flags=%#x\n", fptr[i]->flags);
                rprintf(FINFO, "flist->modtime=%#lx\n",
@@ -20,8 +20,8 @@
                rprintf(FINFO, "flist->length=%.0f\n",
                        (double) fptr[i]->length);
                rprintf(FINFO, "flist->mode=%#o\n", (int) fptr[i]->mode);
---- flist.c    22 Apr 2004 22:17:15 -0000      1.216
-+++ flist.c    20 Apr 2004 23:44:17 -0000
+--- flist.c    3 May 2004 01:24:10 -0000       1.220
++++ flist.c    8 May 2004 18:35:16 -0000
 @@ -58,6 +58,7 @@ extern int relative_paths;
  extern int implied_dirs;
  extern int copy_links;
                dev = 0, rdev = makedev(0, 0);
                rdev_major = 0;
                uid = 0, gid = 0;
-@@ -588,6 +599,8 @@ void receive_file_entry(struct file_stru
+@@ -589,6 +600,8 @@ void receive_file_entry(struct file_stru
                modtime = (time_t)read_int(f);
        if (!(flags & XMIT_SAME_MODE))
                mode = from_wire_mode(read_int(f));
  
        if (preserve_uid && !(flags & XMIT_SAME_UID))
                uid = (uid_t)read_int(f);
-@@ -638,6 +651,7 @@ void receive_file_entry(struct file_stru
+@@ -639,6 +652,7 @@ void receive_file_entry(struct file_stru
  
        file->flags = flags & XMIT_TOP_DIR ? FLAG_TOP_DIR : 0;
        file->modtime = modtime;
        file->length = file_length;
        file->mode = mode;
        file->uid = uid;
-@@ -852,6 +866,7 @@ skip_excludes:
+@@ -853,6 +867,7 @@ skip_excludes:
  
        file->flags = flags;
        file->modtime = st.st_mtime;
        file->length = st.st_size;
        file->mode = st.st_mode;
        file->uid = st.st_uid;
---- generator.c        15 Apr 2004 16:55:23 -0000      1.79
-+++ generator.c        20 Apr 2004 23:44:17 -0000
-@@ -97,7 +97,7 @@ static int skip_file(char *fname, struct
+--- generator.c        5 May 2004 17:15:03 -0000       1.81
++++ generator.c        8 May 2004 18:35:16 -0000
+@@ -98,7 +98,7 @@ static int skip_file(char *fname, struct
                return 0;
        }
  
  }
  
  
-@@ -464,7 +464,7 @@ void recv_generator(char *fname, struct 
+@@ -465,7 +465,7 @@ void recv_generator(char *fname, struct 
                return;
        }
  
                if (verbose > 1)
                        rprintf(FINFO,"%s is newer\n",fname);
                return;
---- options.c  17 Apr 2004 17:07:23 -0000      1.147
-+++ options.c  20 Apr 2004 23:44:17 -0000
+--- options.c  6 May 2004 21:08:01 -0000       1.148
++++ options.c  8 May 2004 18:35:16 -0000
 @@ -46,6 +46,7 @@ int preserve_devices = 0;
  int preserve_uid = 0;
  int preserve_gid = 0;
                argstr[x++] = 'p';
        if (recurse)
 --- proto.h    22 Apr 2004 09:58:09 -0000      1.189
-+++ proto.h    20 Apr 2004 23:44:17 -0000
++++ proto.h    8 May 2004 18:35:17 -0000
 @@ -242,7 +242,7 @@ int fd_pair(int fd[2]);
  void print_child_argv(char **cmd);
  void out_of_memory(char *str);
  void *_new_array(unsigned int size, unsigned long num);
  void *_realloc_array(void *ptr, unsigned int size, unsigned long num);
 --- rsync.c    23 Mar 2004 16:16:15 -0000      1.135
-+++ rsync.c    20 Apr 2004 23:44:17 -0000
++++ rsync.c    8 May 2004 18:35:17 -0000
 @@ -25,6 +25,7 @@
  extern int verbose;
  extern int dry_run;
        }
  
        change_uid = am_root && preserve_uid && st->st_uid != file->uid;
---- rsync.h    22 Apr 2004 09:58:24 -0000      1.198
-+++ rsync.h    20 Apr 2004 23:44:18 -0000
+--- rsync.h    2 May 2004 16:34:33 -0000       1.200
++++ rsync.h    8 May 2004 18:35:17 -0000
 @@ -54,6 +54,7 @@
  #define XMIT_HAS_IDEV_DATA (1<<9)
  #define XMIT_SAME_DEV (1<<10)
        uid_t uid;
        gid_t gid;
        mode_t mode;
---- rsync.yo   24 Apr 2004 06:16:04 -0000      1.164
-+++ rsync.yo   24 Apr 2004 07:33:19 -0000
+--- rsync.yo   7 May 2004 00:18:37 -0000       1.169
++++ rsync.yo   8 May 2004 18:35:18 -0000
 @@ -299,6 +299,7 @@ verb(
   -g, --group                 preserve group
   -D, --devices               preserve devices (root only)
   -S, --sparse                handle sparse files efficiently
   -n, --dry-run               show what would have been transferred
   -W, --whole-file            copy whole files, no incremental checks
-@@ -543,6 +544,11 @@ modified cannot be effective; in other w
+@@ -545,6 +546,11 @@ modified cannot be effective; in other w
  cause the next transfer to behave as if it used -I, and all files will have
  their checksums compared and show up in log messages even if they haven't
  changed.
  dit(bf(-n, --dry-run)) This tells rsync to not do any file transfers,
  instead it will just report the actions it would have taken.
 --- tls.c      9 Apr 2004 20:22:44 -0000       1.19
-+++ tls.c      20 Apr 2004 23:44:18 -0000
++++ tls.c      8 May 2004 18:35:18 -0000
 @@ -39,6 +39,7 @@
  
  
  
        return 0;
  }
---- util.c     22 Apr 2004 22:17:15 -0000      1.138
-+++ util.c     20 Apr 2004 23:44:19 -0000
+--- util.c     27 Apr 2004 19:59:37 -0000      1.141
++++ util.c     8 May 2004 18:35:18 -0000
 @@ -124,32 +124,40 @@ void overflow(char *str)
  
  
                t[0].tv_usec = 0;
                t[1].tv_sec = modtime;
                t[1].tv_usec = 0;
-@@ -1051,8 +1059,8 @@ int msleep(int t)
+@@ -1060,8 +1068,8 @@ int msleep(int t)
  
  
  /**
   * --modify-window).
   *
   * @retval 0 if the times should be treated as the same
-@@ -1061,7 +1069,7 @@ int msleep(int t)
+@@ -1070,7 +1078,7 @@ int msleep(int t)
   *
   * @retval -1 if the 2nd is later
   **/
        extern int modify_window;
  
 --- /dev/null  1 Jan 1970 00:00:00 -0000
-+++ testsuite/copy-atimes.test 20 Apr 2004 23:44:19 -0000
++++ testsuite/copy-atimes.test 8 May 2004 18:35:18 -0000
 @@ -0,0 +1,22 @@
 +#! /bin/sh
 +
 +# The script would have aborted on error, so getting here means we've won.
 +exit 0
 --- testsuite/rsync.fns        4 Feb 2004 07:32:48 -0000       1.59
-+++ testsuite/rsync.fns        20 Apr 2004 23:44:19 -0000
++++ testsuite/rsync.fns        8 May 2004 18:35:18 -0000
 @@ -51,7 +51,7 @@ printmsg() {