--- options.c.orig 2006-01-09 12:35:38.000000000 -0600
+++ options.c 2006-01-09 12:35:51.000000000 -0600
long block_size = 0; /* "long" because popt can't set an int32. */
+int extended_attributes = 0;
/** Network address family. **/
rprintf(F," -4, --ipv4 prefer IPv4\n");
rprintf(F," -6, --ipv6 prefer IPv6\n");
+ rprintf(F," -E, --extended-attributes copy extended attributes\n");
rprintf(F," --version print version number\n");
rprintf(F," -h, --help show this help screen\n");
{"no-implied-dirs", 0, POPT_ARG_VAL, &implied_dirs, 0, 0, 0 },
{"protocol", 0, POPT_ARG_INT, &protocol_version, 0, 0, 0 },
{"checksum-seed", 0, POPT_ARG_INT, &checksum_seed, 0, 0, 0 },
+ {"extended-attributes", 'E', POPT_ARG_NONE, &extended_attributes, 0, 0, 0 },
{"ipv4", '4', POPT_ARG_VAL, &default_af_hint, AF_INET, 0, 0 },
{"ipv6", '6', POPT_ARG_VAL, &default_af_hint, AF_INET6, 0, 0 },
+ if (extended_attributes)
/* This is a complete hack - blame Rusty. FIXME!
* This hack is only needed for older rsync versions that