Updated.
[rsync/rsync-patches.git] / chmod-option.diff
index df5cdff..f6a80b1 100644 (file)
@@ -233,9 +233,9 @@ command before "make":
        file->uid = st.st_uid;
        file->gid = st.st_gid;
  
---- orig/options.c     2004-07-15 16:51:50
+--- orig/options.c     2004-07-16 20:07:22
 +++ options.c  2004-07-03 20:13:41
-@@ -124,6 +124,7 @@ char *log_format = NULL;
+@@ -125,6 +125,7 @@ char *log_format = NULL;
  char *password_file = NULL;
  char *rsync_path = RSYNC_PATH;
  char *backup_dir = NULL;
@@ -243,7 +243,7 @@ command before "make":
  char backup_dir_buf[MAXPATHLEN];
  int rsync_port = RSYNC_PORT;
  int link_dest = 0;
-@@ -136,6 +137,8 @@ int list_only = 0;
+@@ -137,6 +138,8 @@ int list_only = 0;
  #define MAX_BATCH_NAME_LEN 256        /* Must be less than MAXPATHLEN-13 */
  char *batch_name = NULL;
  
@@ -252,7 +252,7 @@ command before "make":
  static int daemon_opt;   /* sets am_daemon after option error-reporting */
  static int modify_window_set;
  
-@@ -244,6 +247,7 @@ void usage(enum logcode F)
+@@ -251,6 +254,7 @@ void usage(enum logcode F)
    rprintf(F," -g, --group                 preserve group\n");
    rprintf(F," -D, --devices               preserve devices (root only)\n");
    rprintf(F," -t, --times                 preserve times\n");
@@ -260,7 +260,7 @@ command before "make":
    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");
-@@ -349,6 +353,7 @@ static struct poptOption long_options[] 
+@@ -357,6 +361,7 @@ static struct poptOption long_options[] 
    {"perms",           'p', POPT_ARG_NONE,   &preserve_perms, 0, 0, 0 },
    {"owner",           'o', POPT_ARG_NONE,   &preserve_uid, 0, 0, 0 },
    {"group",           'g', POPT_ARG_NONE,   &preserve_gid, 0, 0, 0 },
@@ -268,7 +268,7 @@ command before "make":
    {"devices",         'D', POPT_ARG_NONE,   &preserve_devices, 0, 0, 0 },
    {"times",           't', POPT_ARG_NONE,   &preserve_times, 0, 0, 0 },
    {"checksum",        'c', POPT_ARG_NONE,   &always_checksum, 0, 0, 0 },
-@@ -729,6 +734,13 @@ int parse_arguments(int *argc, const cha
+@@ -753,6 +758,13 @@ int parse_arguments(int *argc, const cha
                exit_cleanup(RERR_SYNTAX);
        }
  
@@ -282,7 +282,7 @@ command before "make":
        if (do_progress && !verbose)
                verbose = 1;
  
-@@ -969,6 +981,11 @@ void server_options(char **args,int *arg
+@@ -1007,6 +1019,11 @@ void server_options(char **args,int *arg
                args[ac++] = compare_dest;
        }
  
@@ -294,9 +294,9 @@ command before "make":
        if (files_from && (!am_sender || remote_filesfrom_file)) {
                if (remote_filesfrom_file) {
                        args[ac++] = "--files-from";
---- orig/rsync.yo      2004-07-15 02:21:11
+--- orig/rsync.yo      2004-07-16 20:07:23
 +++ rsync.yo   2004-07-03 20:13:41
-@@ -300,6 +300,7 @@ verb(
+@@ -301,6 +301,7 @@ verb(
   -g, --group                 preserve group
   -D, --devices               preserve devices (root only)
   -t, --times                 preserve times
@@ -304,7 +304,7 @@ command before "make":
   -S, --sparse                handle sparse files efficiently
   -n, --dry-run               show what would have been transferred
   -W, --whole-file            copy whole files, no incremental checks
-@@ -552,6 +553,14 @@ cause the next transfer to behave as if 
+@@ -564,6 +565,14 @@ cause the next transfer to behave as if 
  their checksums compared and show up in log messages even if they haven't
  changed.