./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/acls.c b/acls.c
--- a/acls.c
+++ b/acls.c
Fix a bug that could lose some bits when stripping some (supposedly)
superfluous ACL info.
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/lib/sysacls.c b/lib/sysacls.c
--- a/lib/sysacls.c
+++ b/lib/sysacls.c
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/compat.c b/compat.c
--- a/compat.c
+++ b/compat.c
int64 len;
int colwidth = human_readable ? 14 : 11;
-@@ -1124,10 +1130,11 @@ static void list_file_entry(struct file_struct *f)
+@@ -1124,10 +1130,12 @@ static void list_file_entry(struct file_struct *f)
#ifdef SUPPORT_LINKS
if (preserve_links && S_ISLNK(f->mode)) {
- rprintf(FINFO, "%s %*s %s %s -> %s\n",
-+ rprintf(FINFO, "%s %*s %s %s %s -> %s\n",
++ rprintf(FINFO, "%s %*s %s%s%s %s -> %s\n",
permbuf, colwidth, human_num(len),
- timestring(f->modtime), f_name(f, NULL),
- F_SYMLINK(f));
+ timestring(f->modtime),
++ atimes_ndx ? " " : "",
+ atimes_ndx ? timestring(atime) : "",
+ f_name(f, NULL), F_SYMLINK(f));
} else
#endif
if (missing_args == 2 && f->mode == 0) {
-@@ -1135,9 +1142,11 @@ static void list_file_entry(struct file_struct *f)
+@@ -1135,9 +1143,12 @@ static void list_file_entry(struct file_struct *f)
colwidth + 31, "*missing",
f_name(f, NULL));
} else {
- rprintf(FINFO, "%s %*s %s %s\n",
-+ rprintf(FINFO, "%s %*s %s %s %s\n",
++ rprintf(FINFO, "%s %*s %s%s%s %s\n",
permbuf, colwidth, human_num(len),
- timestring(f->modtime), f_name(f, NULL));
+ timestring(f->modtime),
++ atimes_ndx ? " " : "",
+ atimes_ndx ? timestring(atime) : "",
+ f_name(f, NULL));
}
}
-@@ -2034,7 +2043,7 @@ static void touch_up_dirs(struct file_list *flist, int ndx)
+@@ -2034,7 +2045,7 @@ static void touch_up_dirs(struct file_list *flist, int ndx)
STRUCT_STAT st;
if (link_stat(fname, &st, 0) == 0
&& cmp_time(st.st_mtime, file->modtime) != 0)
diff --git a/log.c b/log.c
--- a/log.c
+++ b/log.c
-@@ -720,7 +720,8 @@ static void log_formatted(enum logcode code, const char *format, const char *op,
+@@ -721,7 +721,8 @@ static void log_formatted(enum logcode code, const char *format, const char *op,
c[5] = !(iflags & ITEM_REPORT_PERMS) ? '.' : 'p';
c[6] = !(iflags & ITEM_REPORT_OWNER) ? '.' : 'o';
c[7] = !(iflags & ITEM_REPORT_GROUP) ? '.' : 'g';
diff --git a/testsuite/daemon.test b/testsuite/daemon.test
--- a/testsuite/daemon.test
+++ b/testsuite/daemon.test
-@@ -26,8 +26,8 @@ outfile="$scratchdir/rsync.out"
-
+@@ -27,7 +27,7 @@ outfile="$scratchdir/rsync.out"
SSH="src/support/lsh.sh --no-cd"
FILE_REPL='s/^\([^d][^ ]*\) *\(..........[0-9]\) /\1 \2 /'
--DIR_REPL='s/^\(d[^ ]*\) *[0-9][.,0-9]* /\1 DIR /'
+ DIR_REPL='s/^\(d[^ ]*\) *[0-9][.,0-9]* /\1 DIR /'
-LS_REPL='s;[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9];####/##/## ##:##:##;'
-+DIR_REPL='s/^\(d[^ ]*\) *[0-9][.,0-9]* */\1 DIR /'
-+LS_REPL='s;[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] *;####/##/## ##:##:## ;'
++LS_REPL='s;[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] ;####/##/## ##:##:## ;'
build_rsyncd_conf
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/generator.c b/generator.c
--- a/generator.c
+++ b/generator.c
{"no-backup", 0, POPT_ARG_VAL, &make_backups, 0, 0, 0 },
{"backup-dir", 0, POPT_ARG_STRING, &backup_dir, 0, 0, 0 },
{"suffix", 0, POPT_ARG_STRING, &backup_suffix, 0, 0, 0 },
-@@ -2572,6 +2574,10 @@ void server_options(char **args, int *argc_p)
+@@ -2575,6 +2577,10 @@ void server_options(char **args, int *argc_p)
}
if (am_sender) {
if (preserve_times) {
preserve_times = PRESERVE_FILE_TIMES;
-@@ -2564,6 +2626,10 @@ void server_options(char **args, int *argc_p)
+@@ -2567,6 +2629,10 @@ void server_options(char **args, int *argc_p)
args[ac++] = "--backup-dir";
args[ac++] = backup_dir;
}
/* Only send --suffix if it specifies a non-default value. */
if (strcmp(backup_suffix, backup_dir ? "" : BACKUP_SUFFIX) != 0) {
-@@ -2572,7 +2638,14 @@ void server_options(char **args, int *argc_p)
+@@ -2575,7 +2641,14 @@ void server_options(char **args, int *argc_p)
goto oom;
args[ac++] = arg;
}
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/errcode.h b/errcode.h
--- a/errcode.h
+++ b/errcode.h
diff --git a/log.c b/log.c
--- a/log.c
+++ b/log.c
-@@ -91,6 +91,7 @@ struct {
+@@ -92,6 +92,7 @@ struct {
{ RERR_TERMINATED , "sibling process terminated abnormally" },
{ RERR_SIGNAL1 , "received SIGUSR1" },
{ RERR_SIGNAL , "received SIGINT, SIGTERM, or SIGHUP" },
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/checksum.c b/checksum.c
--- a/checksum.c
+++ b/checksum.c
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/flist.c b/flist.c
--- a/flist.c
+++ b/flist.c
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/generator.c b/generator.c
--- a/generator.c
+++ b/generator.c
{"specials", 0, POPT_ARG_VAL, &preserve_specials, 1, 0, 0 },
{"no-specials", 0, POPT_ARG_VAL, &preserve_specials, 0, 0, 0 },
{"links", 'l', POPT_ARG_VAL, &preserve_links, 1, 0, 0 },
-@@ -2736,6 +2739,9 @@ void server_options(char **args, int *argc_p)
+@@ -2739,6 +2742,9 @@ void server_options(char **args, int *argc_p)
else if (remove_source_files)
args[ac++] = "--remove-sent-files";
int64 len;
int colwidth = human_readable ? 14 : 11;
-@@ -1135,10 +1150,11 @@ static void list_file_entry(struct file_struct *f)
+@@ -1135,10 +1150,12 @@ static void list_file_entry(struct file_struct *f)
#ifdef SUPPORT_LINKS
if (preserve_links && S_ISLNK(f->mode)) {
- rprintf(FINFO, "%s %*s %s %s -> %s\n",
-+ rprintf(FINFO, "%s %*s %s %s %s -> %s\n",
++ rprintf(FINFO, "%s %*s %s%s%s %s -> %s\n",
permbuf, colwidth, human_num(len),
- timestring(f->modtime), f_name(f, NULL),
- F_SYMLINK(f));
+ timestring(f->modtime),
++ crtimes_ndx ? " " : "",
+ crtimes_ndx ? timestring(crtime) : "",
+ f_name(f, NULL), F_SYMLINK(f));
} else
#endif
if (missing_args == 2 && f->mode == 0) {
-@@ -1146,9 +1162,11 @@ static void list_file_entry(struct file_struct *f)
+@@ -1146,9 +1163,12 @@ static void list_file_entry(struct file_struct *f)
colwidth + 31, "*missing",
f_name(f, NULL));
} else {
- rprintf(FINFO, "%s %*s %s %s\n",
-+ rprintf(FINFO, "%s %*s %s %s %s\n",
++ rprintf(FINFO, "%s %*s %s%s%s %s\n",
permbuf, colwidth, human_num(len),
- timestring(f->modtime), f_name(f, NULL));
+ timestring(f->modtime),
++ crtimes_ndx ? " " : "",
+ crtimes_ndx ? timestring(crtime) : "",
+ f_name(f, NULL));
}
}
-@@ -1240,6 +1258,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
+@@ -1240,6 +1260,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
return;
}
}
diff --git a/log.c b/log.c
--- a/log.c
+++ b/log.c
-@@ -723,7 +723,8 @@ static void log_formatted(enum logcode code, const char *format, const char *op,
+@@ -724,7 +724,8 @@ static void log_formatted(enum logcode code, const char *format, const char *op,
c[8] = !(iflags & ITEM_REPORT_FFLAGS) ? '.' : 'f';
c[9] = !(iflags & ITEM_REPORT_ACL) ? '.' : 'a';
c[10] = !(iflags & ITEM_REPORT_XATTR) ? '.' : 'x';
+ (int)mt->tm_hour,
+ (int)mt->tm_min,
+ (int)mt->tm_sec);
-+ if (nsecs >= 0) {
-+ snprintf(datebuf + len, sizeof datebuf - len, ".%09d", nsecs);
-+ }
++ if (nsecs >= 0 && len >= 0)
++ snprintf(dest + len, destsize - len, ".%09d", nsecs);
+ } else {
+ int has_nsecs = nsecs >= 0 ? 1 : 0;
-+ int len = MIN(19 + 9*nsec_times, (int)sizeof datebuf - 1);
-+ memset(datebuf, ' ', len);
-+ datebuf[len] = '\0';
++ int len = MIN(19 + 9*has_nsecs, (int)destsize - 1);
++ memset(dest, ' ', len);
++ dest[len] = '\0';
+ }
+}
+
+ char mtimebuf[50];
+ char crtimebuf[50];
char linkbuf[4096];
++ int nsecs;
if (do_lstat(fname, &buf) < 0)
failed("stat", fname);
#ifdef SUPPORT_XATTRS
if (am_root < 0)
stat_xattr(fname, &buf);
-@@ -160,29 +190,11 @@ static void list_file(const char *fname)
+@@ -159,30 +189,17 @@ static void list_file(const char *fname)
+ }
permstring(permbuf, buf.st_mode);
-
+-
- if (buf.st_mtime) {
- int len;
- mt = gmtime(&buf.st_mtime);
- (int)mt->tm_hour,
- (int)mt->tm_min,
- (int)mt->tm_sec);
--#ifdef ST_MTIME_NSEC
+ #ifdef ST_MTIME_NSEC
- if (nsec_times) {
- snprintf(datebuf + len, sizeof datebuf - len,
- ".%09d", (int)buf.ST_MTIME_NSEC);
- }
--#endif
++ if (nsec_times)
++ nsecs = (int)buf.ST_MTIME_NSEC;
++ else
+ #endif
- } else {
- int len = MIN(19 + 9*nsec_times, (int)sizeof datebuf - 1);
- memset(datebuf, ' ', len);
- datebuf[len] = '\0';
- }
++ nsecs = -1;
+ storetime(mtimebuf, sizeof mtimebuf, buf.st_mtime, nsecs);
+ if (display_crtimes)
+ storetime(crtimebuf, sizeof crtimebuf, crtime, -1);
/* TODO: Perhaps escape special characters in fname? */
-@@ -193,13 +205,14 @@ static void list_file(const char *fname)
+@@ -193,13 +210,14 @@ static void list_file(const char *fname)
(long)minor(buf.st_rdev));
} else
printf("%15s", do_big_num(buf.st_size, 1, NULL));
{"link-times", 'l', POPT_ARG_NONE, &link_times, 0, 0, 0 },
{"link-owner", 'L', POPT_ARG_NONE, &link_owner, 0, 0, 0 },
#ifdef SUPPORT_XATTRS
-@@ -218,6 +231,7 @@ static void tls_usage(int ret)
+@@ -218,6 +236,7 @@ static void tls_usage(int ret)
fprintf(F,"usage: " PROGRAM " [OPTIONS] FILE ...\n");
fprintf(F,"Trivial file listing program for portably checking rsync\n");
fprintf(F,"\nOptions:\n");
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/exclude.c b/exclude.c
--- a/exclude.c
+++ b/exclude.c
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/generator.c b/generator.c
--- a/generator.c
+++ b/generator.c
{"one-file-system", 'x', POPT_ARG_NONE, 0, 'x', 0, 0 },
{"no-one-file-system",0, POPT_ARG_VAL, &one_file_system, 0, 0, 0 },
{"no-x", 0, POPT_ARG_VAL, &one_file_system, 0, 0, 0 },
-@@ -2623,6 +2626,9 @@ void server_options(char **args, int *argc_p)
+@@ -2626,6 +2629,9 @@ void server_options(char **args, int *argc_p)
else if (missing_args == 1 && !am_sender)
args[ac++] = "--ignore-missing-args";
./configure
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
{"fuzzy", 'y', POPT_ARG_NONE, 0, 'y', 0, 0 },
{"no-fuzzy", 0, POPT_ARG_VAL, &fuzzy_basis, 0, 0, 0 },
{"no-y", 0, POPT_ARG_VAL, &fuzzy_basis, 0, 0, 0 },
-@@ -2610,8 +2614,14 @@ void server_options(char **args, int *argc_p)
+@@ -2613,8 +2617,14 @@ void server_options(char **args, int *argc_p)
args[ac++] = "--super";
if (size_only)
args[ac++] = "--size-only";
a file that can't use it, while missing out on giving it to a file
that could use it.
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/compat.c b/compat.c
--- a/compat.c
+++ b/compat.c
delay_updates ? "delay-updates" : "partial-dir");
return 0;
}
-@@ -2606,6 +2610,8 @@ void server_options(char **args, int *argc_p)
+@@ -2609,6 +2613,8 @@ void server_options(char **args, int *argc_p)
args[ac++] = "--super";
if (size_only)
args[ac++] = "--size-only";
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/options.c b/options.c
--- a/options.c
+++ b/options.c
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/generator.c b/generator.c
--- a/generator.c
+++ b/generator.c
./configure
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/Makefile.in b/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
diff --git a/log.c b/log.c
--- a/log.c
+++ b/log.c
-@@ -720,7 +720,7 @@ static void log_formatted(enum logcode code, const char *format, const char *op,
+@@ -721,7 +721,7 @@ static void log_formatted(enum logcode code, const char *format, const char *op,
c[5] = !(iflags & ITEM_REPORT_PERMS) ? '.' : 'p';
c[6] = !(iflags & ITEM_REPORT_OWNER) ? '.' : 'o';
c[7] = !(iflags & ITEM_REPORT_GROUP) ? '.' : 'g';
extern int dry_run;
extern int list_only;
-@@ -839,6 +842,22 @@ static int do_recv(int f_in, int f_out, char *local_name)
+@@ -51,6 +54,7 @@ extern int copy_unsafe_links;
+ extern int keep_dirlinks;
+ extern int preserve_hard_links;
+ extern int protocol_version;
++extern int force_change;
+ extern int file_total;
+ extern int recurse;
+ extern int xfer_dirs;
+@@ -839,6 +843,22 @@ static int do_recv(int f_in, int f_out, char *local_name)
* points to an identical file won't be replaced by the referent. */
copy_links = copy_dirlinks = copy_unsafe_links = 0;
{"ignore-errors", 0, POPT_ARG_VAL, &ignore_errors, 1, 0, 0 },
{"no-ignore-errors", 0, POPT_ARG_VAL, &ignore_errors, 0, 0, 0 },
{"max-delete", 0, POPT_ARG_INT, &max_delete, 0, 0, 0 },
-@@ -2513,6 +2539,9 @@ void server_options(char **args, int *argc_p)
+@@ -2516,6 +2542,9 @@ void server_options(char **args, int *argc_p)
if (xfer_dirs && !recurse && delete_mode && am_sender)
args[ac++] = "--no-r";
if (do_compression && def_compress_level != Z_DEFAULT_COMPRESSION) {
if (asprintf(&arg, "--compress-level=%d", def_compress_level) < 0)
goto oom;
-@@ -2600,6 +2629,16 @@ void server_options(char **args, int *argc_p)
+@@ -2603,6 +2632,16 @@ void server_options(char **args, int *argc_p)
args[ac++] = "--delete-excluded";
if (force_delete)
args[ac++] = "--force";
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/exclude.c b/exclude.c
--- a/exclude.c
+++ b/exclude.c
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/options.c b/options.c
--- a/options.c
+++ b/options.c
{"rsh", 'e', POPT_ARG_STRING, &shell_cmd, 0, 0, 0 },
{"rsync-path", 0, POPT_ARG_STRING, &rsync_path, 0, 0, 0 },
{"temp-dir", 'T', POPT_ARG_STRING, &tmpdir, 0, 0, 0 },
-@@ -2685,6 +2688,9 @@ void server_options(char **args, int *argc_p)
+@@ -2688,6 +2691,9 @@ void server_options(char **args, int *argc_p)
args[ac++] = tmpdir;
}
extern int preserve_links;
extern int preserve_devices;
extern int preserve_specials;
-@@ -1744,6 +1745,14 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
+@@ -1746,6 +1747,14 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
fname, fnamecmpbuf);
}
sx.st.st_size = F_LENGTH(fuzzy_file);
statret = 0;
fnamecmp = fnamecmpbuf;
}
-@@ -1911,6 +1920,18 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
+@@ -1913,6 +1922,18 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
if (read_batch)
goto cleanup;
extern int dry_run;
extern int list_only;
-@@ -53,7 +57,9 @@ extern int copy_dirlinks;
+@@ -53,6 +57,7 @@ extern int copy_dirlinks;
extern int copy_unsafe_links;
extern int keep_dirlinks;
extern int preserve_hard_links;
+extern int preserve_hfs_compression;
extern int protocol_version;
-+extern int force_change;
+ extern int force_change;
extern int file_total;
- extern int recurse;
- extern int xfer_dirs;
-@@ -106,6 +112,7 @@ int daemon_over_rsh = 0;
+@@ -107,6 +112,7 @@ int daemon_over_rsh = 0;
mode_t orig_umask = 0;
int batch_gen_fd = -1;
int sender_keeps_checksum = 0;
/* There's probably never more than at most 2 outstanding child processes,
* but set it higher, just in case. */
-@@ -558,6 +565,43 @@ static pid_t do_cmd(char *cmd, char *machine, char *user, char **remote_argv, in
+@@ -559,6 +565,43 @@ static pid_t do_cmd(char *cmd, char *machine, char *user, char **remote_argv, in
return 0; /* not reached */
}
/* The receiving side operates in one of two modes:
*
* 1. it receives any number of files into a destination directory,
-@@ -616,6 +660,9 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
+@@ -617,6 +660,9 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
exit_cleanup(RERR_FILESELECT);
}
filesystem_dev = st.st_dev; /* ensures --force works right w/-x */
return NULL;
}
if (file_total > 1) {
-@@ -676,7 +723,9 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
+@@ -677,7 +723,9 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
full_fname(dest_path));
exit_cleanup(RERR_FILESELECT);
}
return NULL;
}
-@@ -696,6 +745,9 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
+@@ -697,6 +745,9 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
full_fname(dest_path));
exit_cleanup(RERR_FILESELECT);
}
if (block_size > MAX_BLOCK_SIZE) {
snprintf(err_buf, sizeof err_buf,
"--block-size=%lu is too large (max: %u)\n", block_size, MAX_BLOCK_SIZE);
-@@ -2549,6 +2569,11 @@ void server_options(char **args, int *argc_p)
+@@ -2552,6 +2572,11 @@ void server_options(char **args, int *argc_p)
if (preserve_fileflags)
args[ac++] = "--fileflags";
- Make this code handle multibyte character encodings, and honor the
--iconv setting when converting case.
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/exclude.c b/exclude.c
--- a/exclude.c
+++ b/exclude.c
{"files-from", 0, POPT_ARG_STRING, &files_from, 0, 0, 0 },
{"from0", '0', POPT_ARG_VAL, &eol_nulls, 1, 0, 0},
{"no-from0", 0, POPT_ARG_VAL, &eol_nulls, 0, 0, 0},
-@@ -2635,6 +2639,9 @@ void server_options(char **args, int *argc_p)
+@@ -2638,6 +2642,9 @@ void server_options(char **args, int *argc_p)
args[ac++] = arg;
}
./configure
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/Makefile.in b/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
}
if (daemon_filter_list.head && !am_sender) {
filter_rule_list *elp = &daemon_filter_list;
-@@ -2714,6 +2738,12 @@ void server_options(char **args, int *argc_p)
+@@ -2717,6 +2741,12 @@ void server_options(char **args, int *argc_p)
} else if (inplace)
args[ac++] = "--inplace";
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/authenticate.c b/authenticate.c
--- a/authenticate.c
+++ b/authenticate.c
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/access.c b/access.c
--- a/access.c
+++ b/access.c
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/generator.c b/generator.c
--- a/generator.c
+++ b/generator.c
./configure
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/Makefile.in b/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
if (inplace) {
#ifdef HAVE_FTRUNCATE
if (partial_dir) {
-@@ -2828,9 +2902,21 @@ char *check_for_hostspec(char *s, char **host_ptr, int *port_ptr)
+@@ -2831,9 +2905,21 @@ char *check_for_hostspec(char *s, char **host_ptr, int *port_ptr)
{
char *path;
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/flist.c b/flist.c
--- a/flist.c
+++ b/flist.c
TODO: the configure changes should abort if the user requests --enable-slp
and we can't honor that request.
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/Makefile.in b/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
+ exit_cleanup(RERR_SYNTAX);
+ }
+
-+ n = lp_numservices();
++ n = lp_num_modules();
+
+ if (0 == lp_slp_refresh())
+ timeout = SLP_LIFETIME_MAXIMUM; /* don't expire, ever */
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/syscall.c b/syscall.c
--- a/syscall.c
+++ b/syscall.c
-- Matt McCutchen <hashproduct@gmail.com>
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/options.c b/options.c
--- a/options.c
+++ b/options.c
{"no-backup", 0, POPT_ARG_VAL, &make_backups, 0, 0, 0 },
{"backup-dir", 0, POPT_ARG_STRING, &backup_dir, 0, 0, 0 },
{"suffix", 0, POPT_ARG_STRING, &backup_suffix, 0, 0, 0 },
-@@ -2614,6 +2617,8 @@ void server_options(char **args, int *argc_p)
+@@ -2617,6 +2620,8 @@ void server_options(char **args, int *argc_p)
goto oom;
args[ac++] = arg;
}
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/generator.c b/generator.c
--- a/generator.c
+++ b/generator.c
if (files_from) {
char *h, *p;
int q;
-@@ -2623,6 +2642,25 @@ void server_options(char **args, int *argc_p)
+@@ -2626,6 +2645,25 @@ void server_options(char **args, int *argc_p)
else if (missing_args == 1 && !am_sender)
args[ac++] = "--ignore-missing-args";
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/fileio.c b/fileio.c
--- a/fileio.c
+++ b/fileio.c
{"preallocate", 0, POPT_ARG_NONE, &preallocate_files, 0, 0, 0},
{"inplace", 0, POPT_ARG_VAL, &inplace, 1, 0, 0 },
{"no-inplace", 0, POPT_ARG_VAL, &inplace, 0, 0, 0 },
-@@ -2546,6 +2549,12 @@ void server_options(char **args, int *argc_p)
+@@ -2549,6 +2552,12 @@ void server_options(char **args, int *argc_p)
args[ac++] = arg;
}
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/io.c b/io.c
--- a/io.c
+++ b/io.c
default:
/* A large opt value means that set_refuse_options()
* turned this option off. */
-@@ -2558,6 +2594,15 @@ void server_options(char **args, int *argc_p)
+@@ -2561,6 +2597,15 @@ void server_options(char **args, int *argc_p)
args[ac++] = arg;
}
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/flist.c b/flist.c
--- a/flist.c
+++ b/flist.c
am_starting_up = 0;
return 1;
-@@ -2731,6 +2752,12 @@ void server_options(char **args, int *argc_p)
+@@ -2734,6 +2755,12 @@ void server_options(char **args, int *argc_p)
if (relative_paths && !implied_dirs && (!am_sender || protocol_version >= 30))
args[ac++] = "--no-implied-dirs";
./configure (optional if already run)
make
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/syscall.c b/syscall.c
--- a/syscall.c
+++ b/syscall.c
This patch has not yet been tested by me (Wayne), but was provided
Darryl Dixon. Thanks!
-based-on: bc58313bf7f42f0993f7279299e8137e0f14f01c
+based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
diff --git a/generator.c b/generator.c
--- a/generator.c
+++ b/generator.c
default:
/* A large opt value means that set_refuse_options()
* turned this option off. */
-@@ -2731,6 +2739,9 @@ void server_options(char **args, int *argc_p)
+@@ -2734,6 +2742,9 @@ void server_options(char **args, int *argc_p)
if (relative_paths && !implied_dirs && (!am_sender || protocol_version >= 30))
args[ac++] = "--no-implied-dirs";