Adding filter-attribute-mods patch; updating patches.
[rsync/rsync-patches.git] / copy-devices.diff
index 3f143cc..b44198a 100644 (file)
@@ -8,8 +8,8 @@ To use this patch, run these commands for a successful build:
     ./configure                      (optional if already run)
     make
 
+based-on: 181c9faf928faad08ef095f4667afe460ec3bef6
 diff --git a/generator.c b/generator.c
-index 12007a1..a2875fd 100644
 --- a/generator.c
 +++ b/generator.c
 @@ -39,6 +39,7 @@ extern int preserve_acls;
@@ -20,7 +20,7 @@ index 12007a1..a2875fd 100644
  extern int preserve_specials;
  extern int preserve_hard_links;
  extern int preserve_executability;
-@@ -1507,7 +1508,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
+@@ -1511,7 +1512,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
                goto cleanup;
        }
  
@@ -30,7 +30,6 @@ index 12007a1..a2875fd 100644
                        fname = f_name(file, NULL);
                rprintf(FINFO, "skipping non-regular file \"%s\"\n", fname);
 diff --git a/options.c b/options.c
-index e7c6c61..b0806e8 100644
 --- a/options.c
 +++ b/options.c
 @@ -48,6 +48,7 @@ int append_mode = 0;
@@ -57,7 +56,7 @@ index e7c6c61..b0806e8 100644
    {"specials",         0,  POPT_ARG_VAL,    &preserve_specials, 1, 0, 0 },
    {"no-specials",      0,  POPT_ARG_VAL,    &preserve_specials, 0, 0, 0 },
    {"links",           'l', POPT_ARG_VAL,    &preserve_links, 1, 0, 0 },
-@@ -2609,6 +2612,9 @@ void server_options(char **args, int *argc_p)
+@@ -2626,6 +2629,9 @@ void server_options(char **args, int *argc_p)
        else if (remove_source_files)
                args[ac++] = "--remove-sent-files";
  
@@ -68,7 +67,6 @@ index e7c6c61..b0806e8 100644
                rprintf(FERROR, "argc overflow in server_options().\n");
                exit_cleanup(RERR_MALLOC);
 diff --git a/rsync.c b/rsync.c
-index 2c026a2..cfc6ffa 100644
 --- a/rsync.c
 +++ b/rsync.c
 @@ -33,6 +33,7 @@ extern int preserve_xattrs;
@@ -90,10 +88,9 @@ index 2c026a2..cfc6ffa 100644
                                "received request to transfer non-regular file: %d [%s]\n",
                                ndx, who_am_i());
 diff --git a/sender.c b/sender.c
-index bf8221d..f115457 100644
 --- a/sender.c
 +++ b/sender.c
-@@ -329,6 +329,20 @@ void send_files(int f_in, int f_out)
+@@ -328,6 +328,20 @@ void send_files(int f_in, int f_out)
                        exit_cleanup(RERR_PROTOCOL);
                }