Fixed a failing hunk.
authorWayne Davison <wayned@samba.org>
Sun, 13 Feb 2005 22:01:54 +0000 (22:01 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 13 Feb 2005 22:01:54 +0000 (22:01 +0000)
acls.diff

index 9764ade968ec194dff1cb0a23be21a741fdd0a4d..04edaa169494b6da07935574e0746fc5e2b21ba7 100644 (file)
--- a/acls.diff
+++ b/acls.diff
@@ -1285,8 +1285,8 @@ ACLs to a non-ACL-supporting disk should complain.
  AC_CONFIG_FILES([Makefile lib/dummy zlib/dummy popt/dummy shconfig])
  AC_OUTPUT
  
---- orig/flist.c       2005-02-12 19:54:27
-+++ flist.c    2004-07-03 20:11:58
+--- orig/flist.c       2005-02-13 21:17:16
++++ flist.c    2005-02-13 21:58:44
 @@ -977,6 +977,8 @@ void send_file_name(int f, struct file_l
  
        if (!(file = make_file(fname, flist, ALL_FILTERS)))
@@ -1307,16 +1307,16 @@ ACLs to a non-ACL-supporting disk should complain.
        }
  
        if (recursive && S_ISDIR(file->mode)
-@@ -1289,6 +1295,8 @@ struct file_list *recv_file_list(int f)
+@@ -1293,6 +1299,8 @@ struct file_list *recv_file_list(int f)
                        flags |= read_byte(f) << 8;
-               receive_file_entry(flist, i, flags, f);
+               file = receive_file_entry(flist, flags, f);
  
-+              RECEIVE_ACL(flist->files[i], f);
++              RECEIVE_ACL(file, f);
 +
-               if (S_ISREG(flist->files[i]->mode))
-                       stats.total_size += flist->files[i]->length;
+               if (S_ISREG(file->mode))
+                       stats.total_size += file->length;
  
-@@ -1311,6 +1319,8 @@ struct file_list *recv_file_list(int f)
+@@ -1315,6 +1323,8 @@ struct file_list *recv_file_list(int f)
  
        clean_flist(flist, relative_paths, 1);
  
@@ -1325,9 +1325,9 @@ ACLs to a non-ACL-supporting disk should complain.
        if (f != -1) {
                /* Now send the uid/gid list. This was introduced in
                 * protocol version 15 */
---- orig/generator.c   2005-02-11 20:25:07
+--- orig/generator.c   2005-02-13 05:50:28
 +++ generator.c        2005-01-30 10:09:44
-@@ -315,6 +315,10 @@ static void recv_generator(char *fname, 
+@@ -324,6 +324,10 @@ static void recv_generator(char *fname, 
                if (set_perms(fname, file, statret ? NULL : &st, 0)
                    && verbose && f_out != -1)
                        rprintf(FINFO, "%s/\n", safe_fname(fname));
@@ -4597,7 +4597,7 @@ ACLs to a non-ACL-supporting disk should complain.
    next;
  }
  
---- orig/options.c     2005-02-11 18:21:45
+--- orig/options.c     2005-02-13 05:50:28
 +++ options.c  2004-08-19 17:38:57
 @@ -44,6 +44,7 @@ int keep_dirlinks = 0;
  int copy_links = 0;
@@ -4748,7 +4748,7 @@ ACLs to a non-ACL-supporting disk should complain.
  #include "proto.h"
  
  /* We have replacement versions of these if they're missing. */
---- orig/rsync.yo      2005-02-12 19:54:28
+--- orig/rsync.yo      2005-02-13 21:51:10
 +++ rsync.yo   2004-07-03 20:11:58
 @@ -317,6 +317,7 @@ to the detailed description below for a 
   -H, --hard-links            preserve hard links