fielding 2002/07/11 15:15:26
Modified: file_io/unix pipe.c
Log:
fix apparent paste-o checking for O_NDELAY -- this is too weird to explain.
Revision Changes Path
1.57 +1 -1 apr/file_io/unix/pipe.c
Index: pipe.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/pipe.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- pipe.c 1 Jul 2002 14:04:58 -0000 1.56
+++ pipe.c 11 Jul 2002 22:15:26 -0000 1.57
@@ -76,7 +76,7 @@
fd_flags = fcntl(thepipe->filedes, F_GETFL, 0);
# if defined(O_NONBLOCK)
fd_flags &= ~O_NONBLOCK;
-# elif defined(~O_NDELAY)
+# elif defined(O_NDELAY)
fd_flags &= ~O_NDELAY;
# elif defined(FNDELAY)
fd_flags &= ~O_FNDELAY;