Matt's --copy-devices patch.
[rsync/rsync-patches.git] / acls.diff
index bdf529c..eb4cc59 100644 (file)
--- a/acls.diff
+++ b/acls.diff
@@ -314,10 +314,10 @@ To use this patch, run these commands for a successful build:
        if (S_ISDIR(file->mode))
 --- old/compat.c
 +++ new/compat.c
-@@ -147,13 +147,6 @@ void setup_protocol(int f_out,int f_in)
-                           protocol_version);
-                       exit_cleanup(RERR_PROTOCOL);
-               }
+@@ -145,13 +145,6 @@ void setup_protocol(int f_out,int f_in)
+       }
+       if (protocol_version < 30) {
 -              if (preserve_acls && !local_server) {
 -                      rprintf(FERROR,
 -                          "--acls requires protocol 30 or higher"