don't need PIPE_BUF any more

This commit is contained in:
Andrew Tridgell committed 2000-01-29 02:56:36 +00:00
1 parent 0f3203c312
commit b2999e457f
2 files changed
-6

No files matched your search

-2
View File
@@ -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) {
-4
View File
@@ -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