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
Cope with BSD systems on which mkdir() will not accept a trailing
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
3c0b790
..
eeb3a56
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-454,6
+454,9
@@
static void writefd_unbuffered(int fd,char *buf,size_t len)
}
if (ret <= 0) {
+ /* Don't try to write errors back
+ * across the stream */
+ io_multiplexing_close();
rprintf(FERROR,
"error writing %d unbuffered bytes"
" - exiting: %s\n", len,