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
don't need PIPE_BUF any more
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
c01296d
..
f948147
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-364,8
+364,6
@@
static void writefd_unbuffered(int fd,char *buf,int len)
if (FD_ISSET(fd, &w_fds)) {
int ret, n = len-total;
- if (n > PIPE_BUF) n = PIPE_BUF;
-
ret = write(fd,buf+total,n?n:1);
if (ret == -1 && errno == EINTR) {