diff options
author | Wayne Davison <wayned@samba.org> | 2008-08-31 09:03:50 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-08-31 09:43:39 -0700 |
commit | 8b3e60523aa3d86583a1df54c81c9d480ea19740 (patch) | |
tree | 31cc4d0652a20fb75cf0d64cbeb281a570b3a6a4 /main.c | |
parent | 1d891835e7933f2c82bf636b0f27a936dc432e5c (diff) | |
download | rsync-8b3e60523aa3d86583a1df54c81c9d480ea19740.tar.gz rsync-8b3e60523aa3d86583a1df54c81c9d480ea19740.tar.bz2 rsync-8b3e60523aa3d86583a1df54c81c9d480ea19740.zip |
Improved the fix that ensures that the generator gets notified about an
I/O error for the incremental directory that generated the error. The
PROTOCOL_VERSION was bumped to 31 to implement this.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -64,11 +64,8 @@ extern int whole_file; extern int read_batch; extern int write_batch; extern int batch_fd; -extern int flist_eof; extern int filesfrom_fd; -extern int delete_during; extern int connect_timeout; -extern int check_for_io_err; extern pid_t cleanup_child_pid; extern unsigned int module_dirlen; extern struct stats stats; @@ -768,8 +765,6 @@ static int do_recv(int f_in, int f_out, char *local_name) exit_cleanup(RERR_IPC); } - check_for_io_err = inc_recurse && delete_during && !flist_eof; - if (pid == 0) { close(error_pipe[0]); if (f_in != f_out) |