summaryrefslogtreecommitdiff
path: root/file_io/unix/pipe.c
diff options
context:
space:
mode:
authorRoy T. Fielding <fielding@apache.org>2002-07-11 22:15:26 +0000
committerRoy T. Fielding <fielding@apache.org>2002-07-11 22:15:26 +0000
commit5860fca3b83ac0cf3e85897860d096e707da8231 (patch)
tree1927fa8fbf8758f5764761984dcf96050b2881b5 /file_io/unix/pipe.c
parent34fe8f97454d24b0a5e0950f60becaa5f4cab51a (diff)
downloadapr-5860fca3b83ac0cf3e85897860d096e707da8231.tar.gz
fix apparent paste-o checking for O_NDELAY -- this is too weird to explain.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63623 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/unix/pipe.c')
-rw-r--r--file_io/unix/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/unix/pipe.c b/file_io/unix/pipe.c
index 93745b755..8d702733c 100644
--- a/file_io/unix/pipe.c
+++ b/file_io/unix/pipe.c
@@ -76,7 +76,7 @@ static apr_status_t pipeblock(apr_file_t *thepipe)
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;