Changed the style of the diff headers (use "patch -p1" now).
[rsync/rsync-patches.git] / acls.diff
index 5f7528b..48dd174 100644 (file)
--- a/acls.diff
+++ b/acls.diff
@@ -9,8 +9,8 @@ from a disk that doesn't support ACLs.  This should be changed to silently
 notice that no ACLs are available to copy.  Of course, trying to write out
 ACLs to a non-ACL-supporting disk should complain.
 
---- orig/Makefile.in   2006-02-06 05:03:50
-+++ Makefile.in        2005-11-07 04:31:05
+--- old/Makefile.in
++++ new/Makefile.in
 @@ -25,15 +25,15 @@ VERSION=@VERSION@
  .SUFFIXES:
  .SUFFIXES: .c .o
@@ -30,8 +30,8 @@ ACLs to a non-ACL-supporting disk should complain.
  OBJS3=progress.o pipe.o
  DAEMON_OBJ = params.o loadparm.o clientserver.o access.o connection.o authenticate.o
  popt_OBJS=popt/findme.o  popt/popt.o  popt/poptconfig.o \
---- orig/acls.c        2006-01-31 19:25:53
-+++ acls.c     2006-01-31 19:25:53
+--- old/acls.c
++++ new/acls.c
 @@ -0,0 +1,1202 @@
 +/* -*- c-file-style: "linux" -*-
 +   Copyright (C) Andrew Tridgell 1996
@@ -1235,8 +1235,8 @@ ACLs to a non-ACL-supporting disk should complain.
 +}
 +
 +#endif /* SUPPORT_ACLS */
---- orig/backup.c      2006-01-30 07:18:27
-+++ backup.c   2004-10-06 00:13:09
+--- old/backup.c
++++ new/backup.c
 @@ -135,6 +135,7 @@ static int make_bak_dir(char *fullpath)
                        } else {
                                do_lchown(fullpath, st.st_uid, st.st_gid);
@@ -1262,8 +1262,8 @@ ACLs to a non-ACL-supporting disk should complain.
        free(file);
  
        if (verbose > 1) {
---- orig/configure.in  2006-02-05 04:53:34
-+++ configure.in       2004-08-19 19:53:27
+--- old/configure.in
++++ new/configure.in
 @@ -478,6 +478,11 @@ if test x"$ac_cv_func_strcasecmp" = x"no
      AC_CHECK_LIB(resolv, strcasecmp)
  fi
@@ -1354,8 +1354,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       2006-01-31 02:30:18
-+++ flist.c    2006-01-31 02:37:33
+--- old/flist.c
++++ new/flist.c
 @@ -967,6 +967,8 @@ static struct file_struct *send_file_nam
                         f == -2 ? SERVER_FILTERS : ALL_FILTERS);
        if (!file)
@@ -1394,8 +1394,8 @@ ACLs to a non-ACL-supporting disk should complain.
        if (f >= 0) {
                recv_uid_list(f, flist);
  
---- orig/generator.c   2006-02-05 06:40:40
-+++ generator.c        2006-02-04 22:26:45
+--- old/generator.c
++++ new/generator.c
 @@ -754,6 +754,7 @@ static int try_dests_non(struct file_str
  }
  
@@ -1487,8 +1487,8 @@ ACLs to a non-ACL-supporting disk should complain.
        for (i = 0; i < flist->count; i++) {
                struct file_struct *file = flist->files[i];
  
---- orig/lib/sysacls.c 2005-05-16 23:27:53
-+++ lib/sysacls.c      2005-05-16 23:27:53
+--- old/lib/sysacls.c
++++ new/lib/sysacls.c
 @@ -0,0 +1,3242 @@
 +/* 
 +   Unix SMB/CIFS implementation.
@@ -4732,8 +4732,8 @@ ACLs to a non-ACL-supporting disk should complain.
 +#endif
 +      return 0;
 +}
---- orig/lib/sysacls.h 2005-05-16 23:25:51
-+++ lib/sysacls.h      2005-05-16 23:25:51
+--- old/lib/sysacls.h
++++ new/lib/sysacls.h
 @@ -0,0 +1,28 @@
 +#define SMB_MALLOC(cnt) new_array(char, cnt)
 +#define SMB_MALLOC_P(obj) new_array(obj, 1)
@@ -4763,8 +4763,8 @@ ACLs to a non-ACL-supporting disk should complain.
 +int sys_acl_free_text(char *text);
 +int sys_acl_free_acl(SMB_ACL_T the_acl);
 +int sys_acl_free_qualifier(void *qual, SMB_ACL_TAG_T tagtype);
---- orig/mkproto.awk   2006-02-02 02:41:09
-+++ mkproto.awk        2006-02-02 02:41:47
+--- old/mkproto.awk
++++ new/mkproto.awk
 @@ -58,7 +58,7 @@ BEGIN {
    next;
  }
@@ -4774,8 +4774,8 @@ ACLs to a non-ACL-supporting disk should complain.
    next;
  }
  
---- orig/options.c     2006-02-03 23:51:57
-+++ options.c  2006-02-04 19:58:53
+--- old/options.c
++++ new/options.c
 @@ -44,6 +44,7 @@ int keep_dirlinks = 0;
  int copy_links = 0;
  int preserve_links = 0;
@@ -4870,8 +4870,8 @@ ACLs to a non-ACL-supporting disk should complain.
        if (preserve_uid)
                argstr[x++] = 'o';
        if (preserve_gid)
---- orig/receiver.c    2006-01-31 02:30:18
-+++ receiver.c 2006-02-03 05:46:43
+--- old/receiver.c
++++ new/receiver.c
 @@ -410,6 +410,10 @@ int recv_files(int f_in, struct file_lis
        int itemizing = am_daemon ? daemon_log_format_has_i
                      : !am_server && log_format_has_i;
@@ -4901,8 +4901,8 @@ ACLs to a non-ACL-supporting disk should complain.
                }
  
                /* We now check to see if we are writing file "inplace" */
---- orig/rsync.c       2006-02-05 15:31:49
-+++ rsync.c    2006-02-04 19:53:13
+--- old/rsync.c
++++ new/rsync.c
 @@ -91,7 +91,8 @@ void free_sums(struct sum_struct *s)
  
  /* This is only called when we aren't preserving permissions.  Figure out what
@@ -4937,8 +4937,8 @@ ACLs to a non-ACL-supporting disk should complain.
        if (verbose > 1 && flags & ATTRS_REPORT) {
                enum logcode code = daemon_log_format_has_i || dry_run
                                  ? FCLIENT : FINFO;
---- orig/rsync.h       2006-02-03 20:00:36
-+++ rsync.h    2006-01-31 19:27:00
+--- old/rsync.h
++++ new/rsync.h
 @@ -657,6 +657,44 @@ struct chmod_mode_struct;
  
  #define UNUSED(x) x __attribute__((__unused__))
@@ -4984,8 +4984,8 @@ 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      2006-02-05 15:31:49
-+++ rsync.yo   2006-02-05 06:55:30
+--- old/rsync.yo
++++ new/rsync.yo
 @@ -317,6 +317,7 @@ to the detailed description below for a 
   -K, --keep-dirlinks         treat symlinked dir on receiver as dir
   -p, --perms                 preserve permissions
@@ -5031,8 +5031,8 @@ ACLs to a non-ACL-supporting disk should complain.
  dit(bf(--chmod)) This option tells rsync to apply one or more
  comma-separated "chmod" strings to the permission of the files in the
  transfer.  The resulting value is treated as though it was the permissions
---- orig/smb_acls.h    2004-06-30 00:04:07
-+++ smb_acls.h 2004-06-30 00:04:07
+--- old/smb_acls.h
++++ new/smb_acls.h
 @@ -0,0 +1,277 @@
 +/* 
 +   Unix SMB/Netbios implementation.
@@ -5311,8 +5311,8 @@ ACLs to a non-ACL-supporting disk should complain.
 +
 +#endif /* No ACLs. */
 +#endif /* _SMB_ACLS_H */
---- orig/testsuite/default-acls.test   2006-02-04 22:48:07
-+++ testsuite/default-acls.test        2006-02-04 22:48:07
+--- old/testsuite/default-acls.test
++++ new/testsuite/default-acls.test
 @@ -0,0 +1,55 @@
 +#! /bin/sh
 +
@@ -5369,8 +5369,8 @@ ACLs to a non-ACL-supporting disk should complain.
 +
 +# Hooray
 +exit 0
---- orig/uidlist.c     2006-01-25 17:15:13
-+++ uidlist.c  2006-01-25 17:45:21
+--- old/uidlist.c
++++ new/uidlist.c
 @@ -34,6 +34,7 @@
  extern int verbose;
  extern int preserve_uid;