Blob Blame Raw
--- rsync-2.6.9-orig/hlink.c	2007-06-17 11:51:28.000000000 +0200
+++ rsync-2.6.9/hlink.c	2007-06-17 11:58:22.000000000 +0200
@@ -315,6 +315,9 @@ void hard_link_cluster(struct file_struc
 		if (file->F_HLINDEX != SKIPPED_LINK)
 			continue;
 		hlink2 = f_name(file, NULL);
+#ifdef SUPPORT_ACLS
+		sx.acc_acl = sx.def_acl = NULL;
+#endif
 		statret = link_stat(hlink2, &sx.st, 0);
 		maybe_hard_link(file, ndx, hlink2, statret, &sx,
 				hlink1, &st, itemizing, code);