X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/72e5645e95d7fd7edd0c4ab59f9812b9d6124521..5214a41bbae94607b196b199b483710e1babf292:/xattrs.diff diff --git a/xattrs.diff b/xattrs.diff index 80c283a..635d852 100644 --- a/xattrs.diff +++ b/xattrs.diff @@ -14,7 +14,7 @@ based-on: patch/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) +@@ -189,13 +189,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;