+ }
+ return 0;
+}
---- orig/flist.c 2005-01-24 01:43:09
+--- orig/flist.c 2005-01-25 00:53:58
+++ flist.c 2004-09-18 01:51:11
-@@ -71,6 +71,8 @@ extern int max_delete;
+@@ -70,6 +70,8 @@ extern int max_delete;
extern int orig_umask;
extern int list_only;
+
extern struct exclude_list_struct exclude_list;
extern struct exclude_list_struct server_exclude_list;
- extern struct exclude_list_struct local_exclude_list;
-@@ -897,7 +899,10 @@ skip_excludes:
+
+@@ -890,7 +892,10 @@ skip_excludes:
file->flags = flags;
file->modtime = st.st_mtime;
file->length = st.st_size;
file->uid = st.st_uid;
file->gid = st.st_gid;
---- orig/options.c 2005-01-24 01:43:10
+--- orig/options.c 2005-01-25 03:26:51
+++ options.c 2005-01-24 01:48:30
@@ -132,6 +132,7 @@ char *log_format = NULL;
char *password_file = NULL;
+struct chmod_mode_struct *chmod_modes = NULL;
+
static int daemon_opt; /* sets am_daemon after option error-reporting */
+ static int F_option_cnt = 0;
static int modify_window_set;
- static char *dest_option = NULL;
-@@ -266,6 +269,7 @@ void usage(enum logcode F)
+@@ -267,6 +270,7 @@ void usage(enum logcode F)
rprintf(F," -D, --devices preserve devices (root only)\n");
rprintf(F," -t, --times preserve times\n");
rprintf(F," -O, --omit-dir-times omit directories when preserving times\n");
rprintf(F," -S, --sparse handle sparse files efficiently\n");
rprintf(F," -n, --dry-run show what would have been transferred\n");
rprintf(F," -W, --whole-file copy whole files, no incremental checks\n");
-@@ -373,6 +377,7 @@ static struct poptOption long_options[]
+@@ -379,6 +383,7 @@ static struct poptOption long_options[]
{"perms", 'p', POPT_ARG_NONE, &preserve_perms, 0, 0, 0 },
{"owner", 'o', POPT_ARG_NONE, &preserve_uid, 0, 0, 0 },
{"group", 'g', POPT_ARG_NONE, &preserve_gid, 0, 0, 0 },
{"devices", 'D', POPT_ARG_NONE, &preserve_devices, 0, 0, 0 },
{"times", 't', POPT_ARG_NONE, &preserve_times, 0, 0, 0 },
{"omit-dir-times", 'O', POPT_ARG_NONE, &omit_dir_times, 0, 0, 0 },
-@@ -944,6 +949,13 @@ int parse_arguments(int *argc, const cha
+@@ -984,6 +989,13 @@ int parse_arguments(int *argc, const cha
return 0;
}
if (do_progress && !verbose)
verbose = 1;
-@@ -1239,6 +1251,11 @@ void server_options(char **args,int *arg
+@@ -1277,6 +1289,11 @@ void server_options(char **args,int *arg
}
}
if (files_from && (!am_sender || remote_filesfrom_file)) {
if (remote_filesfrom_file) {
args[ac++] = "--files-from";
---- orig/rsync.yo 2005-01-24 01:43:10
+--- orig/rsync.yo 2005-01-25 03:26:51
+++ rsync.yo 2005-01-24 01:48:43
@@ -332,6 +332,7 @@ verb(
-D, --devices preserve devices (root only)
-S, --sparse handle sparse files efficiently
-n, --dry-run show what would have been transferred
-W, --whole-file copy whole files, no incremental checks
-@@ -644,6 +645,14 @@ dit(bf(-O, --omit-dir-times)) This tells
- the preserving of modification times is enabled (see --times). If NFS
- is sharing the files on the receiving end, it is a good idea to use -O.
+@@ -648,6 +649,14 @@ dit(bf(-O, --omit-dir-times)) This tells
+ it is preserving modification times (see --times). If NFS is sharing
+ the directories on the receiving side, it is a good idea to use -O.
+dit(bf(--chmod)) This options tells rsync to apply the listed "chmod" pattern
+to the permission of the files on the destination. In addition to the normal