--- main.c.orig 2006-01-09 12:35:38.000000000 -0600
+++ main.c 2006-01-09 12:35:51.000000000 -0600
+extern int extended_attributes;
extern pid_t cleanup_child_pid;
extern struct stats stats;
extern char *filesfrom_host;
+ if (extended_attributes) {
+ if(flist->count == 2 && !strncmp(flist->files[0]->basename, "._", 2))
rprintf(FERROR,"ERROR: destination must be a directory when copying more than 1 file\n");
exit_cleanup(RERR_FILESELECT);
+ if (extended_attributes) {
+ if(flist->count == 2 && !strncmp(flist->files[0]->basename, "._", 2))
if (flist->count <= 1 && ((e = strlen(name)) <= 1 || name[e-1] != '/'))