Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d2aad4
)
Reset the io_error_fd right before the generator kills off the receiver
author
Wayne Davison
<wayned@samba.org>
Fri, 10 Jan 2003 08:32:09 +0000
(08:32 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 10 Jan 2003 08:32:09 +0000
(08:32 +0000)
(because the death of the receiver will close the fd and cause the
generator to fail in any subsequent IO).
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
3c05719
..
b571b3a
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-461,6
+461,7
@@
static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
}
io_flush();
+ io_set_error_fd(-1);
kill(pid, SIGUSR2);
wait_process(pid, &status);
return status;