Fixed a failing hunk.
authorWayne Davison <wayned@samba.org>
Fri, 15 Dec 2006 03:12:59 +0000 (03:12 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 15 Dec 2006 03:12:59 +0000 (03:12 +0000)
acls.diff

index dd27e40..720fae5 100644 (file)
--- a/acls.diff
+++ b/acls.diff
@@ -1796,7 +1796,7 @@ latest ACL-enabling patch to send files to an older ACL-enabled rsync.
        }
  
  #ifdef SUPPORT_HARD_LINKS
-       if (preserve_hard_links && F_NOT_HLINK_FIRST(file)
+       if (preserve_hard_links && F_HLINK_NOT_FIRST(file)
 -       && hard_link_check(file, ndx, fname, statret, &st, itemizing, code))
 -              return;
 +       && hard_link_check(file, ndx, fname, statret, &sx, itemizing, code))
@@ -2026,7 +2026,7 @@ latest ACL-enabling patch to send files to an older ACL-enabled rsync.
 @@ -1558,16 +1627,20 @@ static void recv_generator(char *fname, 
                /* pretend the file didn't exist */
  #ifdef SUPPORT_HARD_LINKS
-               if (preserve_hard_links && F_NOT_HLINK_LAST(file))
+               if (preserve_hard_links && F_HLINK_NOT_LAST(file))
 -                      return;
 +                      goto cleanup;
  #endif