mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-26 23:58:19 -04:00
don't need PIPE_BUF any more
This commit is contained in:
1 parent
0f3203c312
commit
b2999e457f
2 files changed
-6
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user