Updated to apply cleanly.
[rsync-patches.git] / owner-group-mod.diff
index 65c56069662f267cf10aaa4002838e6d01c3312d..fb55c0b80f8e35fe7a36d7c8f7c83834950693fc 100644 (file)
@@ -34,9 +34,9 @@ groups, even if they weren't returned by getgroups().  E.g.:
 +                      preserve_gid = 2;
 +      }
  }
---- orig/options.c     2005-03-17 09:05:21
+--- orig/options.c     2005-05-03 16:47:32
 +++ options.c  2004-09-09 01:59:08
-@@ -404,8 +404,8 @@ static struct poptOption long_options[] 
+@@ -409,8 +409,8 @@ static struct poptOption long_options[] 
    {"no-whole-file",    0,  POPT_ARG_VAL,    &whole_file, 0, 0, 0 },
    {"copy-unsafe-links",0,  POPT_ARG_NONE,   &copy_unsafe_links, 0, 0, 0 },
    {"perms",           'p', POPT_ARG_NONE,   &preserve_perms, 0, 0, 0 },
@@ -47,7 +47,7 @@ groups, even if they weren't returned by getgroups().  E.g.:
    {"devices",         'D', POPT_ARG_NONE,   &preserve_devices, 0, 0, 0 },
    {"times",           't', POPT_ARG_NONE,   &preserve_times, 0, 0, 0 },
    {"omit-dir-times",  'O', POPT_ARG_VAL,    &omit_dir_times, 2, 0, 0 },
-@@ -747,6 +747,14 @@ int parse_arguments(int *argc, const cha
+@@ -782,6 +782,14 @@ int parse_arguments(int *argc, const cha
                        usage(FINFO);
                        exit_cleanup(0);
  
@@ -62,7 +62,7 @@ groups, even if they weren't returned by getgroups().  E.g.:
                case 'v':
                        verbose++;
                        break;
-@@ -954,8 +962,8 @@ int parse_arguments(int *argc, const cha
+@@ -969,8 +977,8 @@ int parse_arguments(int *argc, const cha
  #endif
                preserve_perms = 1;
                preserve_times = 1;
@@ -73,7 +73,7 @@ groups, even if they weren't returned by getgroups().  E.g.:
                preserve_devices = 1;
        }
  
-@@ -1269,10 +1277,16 @@ void server_options(char **args,int *arg
+@@ -1286,10 +1294,16 @@ void server_options(char **args,int *arg
  
        if (preserve_hard_links)
                argstr[x++] = 'H';