X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/72e5645e95d7fd7edd0c4ab59f9812b9d6124521..4c85a55c419c231b83e024ab2aedfe3abe12f3da:/xattrs.diff diff --git a/xattrs.diff b/xattrs.diff index 80c283a..422f4e3 100644 --- a/xattrs.diff +++ b/xattrs.diff @@ -10,11 +10,11 @@ To use this patch, run these commands for a successful build: ./configure (optional if already run) make -based-on: patch/acls +based-on: patch/master/acls diff --git a/compat.c b/compat.c --- a/compat.c +++ b/compat.c -@@ -192,13 +192,6 @@ void setup_protocol(int f_out,int f_in) +@@ -191,13 +191,6 @@ void setup_protocol(int f_out,int f_in) if (protocol_version < 30) { if (append_mode == 1) append_mode = 2; @@ -139,7 +139,7 @@ diff --git a/xattrs.c b/xattrs.c + if (F_XATTR(file) < 0) { rprintf(FERROR, "recv_xattr_request: internal data error!\n"); - exit_cleanup(RERR_STREAMIO); + exit_cleanup(RERR_PROTOCOL); @@ -649,7 +666,22 @@ void receive_xattr(int f, struct file_struct *file) #else int need_sort = 1;