Updated to apply cleanly.
[rsync/rsync-patches.git] / dir-times.diff
index 064014e..ec7e23b 100644 (file)
@@ -1,6 +1,6 @@
---- options.c  27 May 2004 21:51:53 -0000      1.153
-+++ options.c  4 Jun 2004 05:26:50 -0000
-@@ -46,6 +46,7 @@ int preserve_devices = 0;
+--- options.c  7 Jun 2004 22:05:22 -0000       1.156
++++ options.c  18 Jun 2004 17:25:12 -0000
+@@ -48,6 +48,7 @@ int preserve_devices = 0;
  int preserve_uid = 0;
  int preserve_gid = 0;
  int preserve_times = 0;
@@ -8,7 +8,7 @@
  int update_only = 0;
  int cvs_exclude = 0;
  int dry_run = 0;
-@@ -241,7 +242,8 @@ void usage(enum logcode F)
+@@ -244,7 +245,8 @@ void usage(enum logcode F)
    rprintf(F," -o, --owner                 preserve owner (root only)\n");
    rprintf(F," -g, --group                 preserve group\n");
    rprintf(F," -D, --devices               preserve devices (root only)\n");
@@ -18,7 +18,7 @@
    rprintf(F," -S, --sparse                handle sparse files efficiently\n");
    rprintf(F," -n, --dry-run               show what would have been transferred\n");
    rprintf(F," -W, --whole-file            copy whole files, no incremental checks\n");
-@@ -348,6 +350,7 @@ static struct poptOption long_options[] 
+@@ -352,6 +354,7 @@ static struct poptOption long_options[] 
    {"group",           'g', POPT_ARG_NONE,   &preserve_gid, 0, 0, 0 },
    {"devices",         'D', POPT_ARG_NONE,   &preserve_devices, 0, 0, 0 },
    {"times",           't', POPT_ARG_NONE,   &preserve_times, 0, 0, 0 },
@@ -26,7 +26,7 @@
    {"checksum",        'c', POPT_ARG_NONE,   &always_checksum, 0, 0, 0 },
    {"verbose",         'v', POPT_ARG_NONE,   0,               'v', 0, 0 },
    {"quiet",           'q', POPT_ARG_NONE,   0,               'q', 0, 0 },
-@@ -835,6 +838,8 @@ void server_options(char **args,int *arg
+@@ -841,6 +844,8 @@ void server_options(char **args,int *arg
                argstr[x++] = 'D';
        if (preserve_times)
                argstr[x++] = 't';
@@ -35,8 +35,8 @@
        if (preserve_perms)
                argstr[x++] = 'p';
        if (recurse)
---- rsync.c    21 May 2004 08:43:03 -0000      1.140
-+++ rsync.c    4 Jun 2004 05:26:50 -0000
+--- rsync.c    11 Jun 2004 07:40:45 -0000      1.141
++++ rsync.c    18 Jun 2004 17:25:12 -0000
 @@ -25,6 +25,7 @@
  extern int verbose;
  extern int dry_run;
@@ -69,9 +69,9 @@
                        rsyserr(FERROR, errno, "failed to set times on %s",
                                full_fname(fname));
                        return 0;
---- rsync.yo   21 May 2004 09:44:32 -0000      1.170
-+++ rsync.yo   4 Jun 2004 05:26:51 -0000
-@@ -298,7 +298,8 @@ verb(
+--- rsync.yo   5 Jun 2004 16:16:30 -0000       1.171
++++ rsync.yo   18 Jun 2004 17:25:13 -0000
+@@ -299,7 +299,8 @@ verb(
   -o, --owner                 preserve owner (root only)
   -g, --group                 preserve group
   -D, --devices               preserve devices (root only)
@@ -81,7 +81,7 @@
   -S, --sparse                handle sparse files efficiently
   -n, --dry-run               show what would have been transferred
   -W, --whole-file            copy whole files, no incremental checks
-@@ -539,14 +540,23 @@ dit(bf(-D, --devices)) This option cause
+@@ -544,14 +545,23 @@ dit(bf(-D, --devices)) This option cause
  block device information to the remote system to recreate these
  devices. This option is only available to the super-user.
  
  instead it will just report the actions it would have taken.
  
 --- testsuite/chgrp.test       21 May 2004 10:06:09 -0000      1.12
-+++ testsuite/chgrp.test       4 Jun 2004 05:26:51 -0000
++++ testsuite/chgrp.test       18 Jun 2004 17:25:13 -0000
 @@ -26,7 +26,7 @@ do
  done
  sleep 2
  # The script would have aborted on error, so getting here means we've won.
  exit 0
 --- testsuite/chown.test       18 May 2004 00:41:35 -0000      1.5
-+++ testsuite/chown.test       4 Jun 2004 05:26:51 -0000
++++ testsuite/chown.test       18 Jun 2004 17:25:13 -0000
 @@ -28,7 +28,7 @@ chown 5001 "$name2" || test_skipped "Can
  chgrp 5002 "$name1" || test_skipped "Can't chgrp (probably need root)"
  chgrp 5003 "$name2" || test_skipped "Can't chgrp (probably need root)"
  # The script would have aborted on error, so getting here means we've won.
  exit 0
 --- testsuite/daemon-gzip-download.test        18 May 2004 00:41:51 -0000      1.7
-+++ testsuite/daemon-gzip-download.test        4 Jun 2004 05:26:51 -0000
++++ testsuite/daemon-gzip-download.test        18 Jun 2004 17:25:13 -0000
 @@ -29,9 +29,9 @@ export RSYNC_CONNECT_PROG
  hands_setup
  
  # The script would have aborted on error, so getting here means we've won.
  exit 0
 --- testsuite/daemon-gzip-upload.test  18 May 2004 00:41:51 -0000      1.7
-+++ testsuite/daemon-gzip-upload.test  4 Jun 2004 05:26:51 -0000
++++ testsuite/daemon-gzip-upload.test  18 Jun 2004 17:25:13 -0000
 @@ -23,9 +23,9 @@ export RSYNC_CONNECT_PROG
  hands_setup
  
  # The script would have aborted on error, so getting here means we've won.
  exit 0
 --- testsuite/devices.test     18 May 2004 00:41:35 -0000      1.8
-+++ testsuite/devices.test     4 Jun 2004 05:26:51 -0000
++++ testsuite/devices.test     18 Jun 2004 17:25:13 -0000
 @@ -29,7 +29,7 @@ mknod "$fromdir/block" b 42 69 || test_s
  mknod "$fromdir/block2" b 42 73 || test_skipped "Can't create block device node unless root"
  mknod "$fromdir/block3" b 105 73 || test_skipped "Can't create block device node unless root"
  # The script would have aborted on error, so getting here means we've won.
  exit 0
 --- testsuite/duplicates.test  18 May 2004 00:41:35 -0000      1.10
-+++ testsuite/duplicates.test  4 Jun 2004 05:26:51 -0000
++++ testsuite/duplicates.test  18 Jun 2004 17:25:13 -0000
 @@ -33,7 +33,7 @@ ln -s "$name1" "$name2" || fail "can't c
  
  outfile="$scratchdir/rsync.out"
  
  # Make sure each file was only copied once...
 --- testsuite/exclude.test     24 May 2004 00:16:07 -0000      1.8
-+++ testsuite/exclude.test     4 Jun 2004 05:26:51 -0000
++++ testsuite/exclude.test     18 Jun 2004 17:25:13 -0000
 @@ -66,7 +66,7 @@ EOF
  
  # Create the chk dir with what we expect to be excluded
  
  # The script would have aborted on error, so getting here means we've won.
 --- testsuite/hands.test       18 May 2004 00:41:46 -0000      1.13
-+++ testsuite/hands.test       4 Jun 2004 05:26:51 -0000
++++ testsuite/hands.test       18 Jun 2004 17:25:13 -0000
 @@ -11,19 +11,19 @@ hands_setup
  
  # Main script starts here
  # The script would have aborted on error, so getting here means we've won.
  exit 0
 --- testsuite/hardlinks.test   18 May 2004 00:41:40 -0000      1.5
-+++ testsuite/hardlinks.test   4 Jun 2004 05:26:51 -0000
++++ testsuite/hardlinks.test   18 Jun 2004 17:25:13 -0000
 @@ -31,7 +31,7 @@ ln "$name1" "$name2" || fail "Can't crea
  ln "$name2" "$name3" || fail "Can't create hardlink"
  cp "$name2" "$name4" || fail "Can't copy file"
  # The script would have aborted on error, so getting here means we've won.
  exit 0
 --- testsuite/longdir.test     18 May 2004 09:47:42 -0000      1.11
-+++ testsuite/longdir.test     4 Jun 2004 05:26:51 -0000
++++ testsuite/longdir.test     18 Jun 2004 17:25:13 -0000
 @@ -18,7 +18,7 @@ makepath "$longdir" || test_skipped "una
  touch "$longdir/1" || test_skipped "unable to create files in long directory"
  date > "$longdir/1"
  # The script would have aborted on error, so getting here means we've won.
  exit 0
 --- testsuite/merge.test       18 May 2004 00:41:38 -0000      1.6
-+++ testsuite/merge.test       4 Jun 2004 05:26:51 -0000
++++ testsuite/merge.test       18 Jun 2004 17:25:13 -0000
 @@ -40,9 +40,9 @@ cp -p "$from2dir"/sub1/uno "$from3dir"/s
  cp -p "$from3dir"/sub2/subby "$chkdir"/sub2
  
  # The script would have aborted on error, so getting here means we've won.
  exit 0
 --- testsuite/ssh-basic.test   18 May 2004 00:41:46 -0000      1.7
-+++ testsuite/ssh-basic.test   4 Jun 2004 05:26:51 -0000
++++ testsuite/ssh-basic.test   18 Jun 2004 17:25:13 -0000
 @@ -28,7 +28,7 @@ fi
  # nothing to do.
  hands_setup
 -runtest "ssh: renamed file" 'checkit "$RSYNC --delete -avH -e ssh --rsync-path=$RSYNC \"$fromdir/\" \"localhost:$todir\"" "$fromdir/" "$todir"'
 +runtest "ssh: renamed file" 'checkit "$RSYNC --delete -advH -e ssh --rsync-path=$RSYNC \"$fromdir/\" \"localhost:$todir\"" "$fromdir/" "$todir"'
 --- testsuite/unsafe-links.test        18 May 2004 00:41:43 -0000      1.7
-+++ testsuite/unsafe-links.test        4 Jun 2004 05:26:51 -0000
++++ testsuite/unsafe-links.test        18 Jun 2004 17:25:13 -0000
 @@ -35,33 +35,33 @@ ln -s ../../unsafe/unsafefile "from/safe
  set -x