Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
If the xattr data is bogus in get_rsync_acl(), free the buffer.
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
154ddde
..
92b5c44
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-440,6
+440,7
@@
static pid_t do_cmd(char *cmd, char *machine, char *user, char **remote_argv, in
if (read_batch) {
int from_gen_pipe[2];
if (read_batch) {
int from_gen_pipe[2];
+ set_allow_inc_recurse();
if (fd_pair(from_gen_pipe) < 0) {
rsyserr(FERROR, errno, "pipe");
exit_cleanup(RERR_IPC);
if (fd_pair(from_gen_pipe) < 0) {
rsyserr(FERROR, errno, "pipe");
exit_cleanup(RERR_IPC);
@@
-456,6
+457,7
@@
static pid_t do_cmd(char *cmd, char *machine, char *user, char **remote_argv, in
* it on, but only if we're not batch processing. */
if (whole_file < 0 && !write_batch)
whole_file = 1;
* it on, but only if we're not batch processing. */
if (whole_file < 0 && !write_batch)
whole_file = 1;
+ set_allow_inc_recurse();
ret = local_child(argc, args, f_in_p, f_out_p, child_main);
#ifdef ICONV_CONST
setup_iconv();
ret = local_child(argc, args, f_in_p, f_out_p, child_main);
#ifdef ICONV_CONST
setup_iconv();
@@
-721,7
+723,7
@@
static void do_server_sender(int f_in, int f_out, int argc, char *argv[])
argc--;
argv++;
argc--;
argv++;
- if (argc == 0 && (recurse || list_only)) {
+ if (argc == 0 && (recurse ||
xfer_dirs ||
list_only)) {
argc = 1;
argv--;
argv[0] = ".";
argc = 1;
argv--;
argv[0] = ".";