diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-29 02:56:36 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-29 02:56:36 +0000 |
commit | b2999e457fd3f0e4ca90c6bcc5c06e112be72c3c (patch) | |
tree | d38e8868d4cb265f27ef0bfa00354c3d58bdb74d | |
parent | 0f3203c312c3e254b611a1687f8ff9a6bdf82376 (diff) | |
download | rsync-b2999e457fd3f0e4ca90c6bcc5c06e112be72c3c.tar.gz |
don't need PIPE_BUF any more
-rw-r--r-- | io.c | 2 | ||||
-rw-r--r-- | rsync.h | 4 |
2 files changed, 0 insertions, 6 deletions
@@ -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) { @@ -283,10 +283,6 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3}; #define MAXPATHLEN 1024 #endif -#ifndef PIPE_BUF -#define PIPE_BUF 512 -#endif - #ifndef INADDR_NONE #define INADDR_NONE 0xffffffff #endif |