summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-08-31 09:03:50 -0700
committerWayne Davison <wayned@samba.org>2008-08-31 09:43:39 -0700
commit8b3e60523aa3d86583a1df54c81c9d480ea19740 (patch)
tree31cc4d0652a20fb75cf0d64cbeb281a570b3a6a4 /main.c
parent1d891835e7933f2c82bf636b0f27a936dc432e5c (diff)
downloadrsync-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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main.c b/main.c
index dc3c5334..c32457d4 100644
--- a/main.c
+++ b/main.c
@@ -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)