From 5860fca3b83ac0cf3e85897860d096e707da8231 Mon Sep 17 00:00:00 2001 From: "Roy T. Fielding" Date: Thu, 11 Jul 2002 22:15:26 +0000 Subject: 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 --- file_io/unix/pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'file_io/unix/pipe.c') 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; -- cgit v1.2.1