bnicholes 2002/05/31 10:14:03
Modified: file_io/netware pipe.c
Log:
Switching the blocking and nonblocking functions since they were backwards
Revision Changes Path
1.11 +4 -2 apr/file_io/netware/pipe.c
Index: pipe.c
===================================================================
RCS file: /home/cvs/apr/file_io/netware/pipe.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- pipe.c 29 May 2002 21:10:57 -0000 1.10
+++ pipe.c 31 May 2002 17:14:03 -0000 1.11
@@ -71,7 +71,8 @@
fcntl(thepipe->filedes, F_SETFL, flags);
}
#else
- fcntl(thepipe->filedes, F_SETFL, FNDELAY);
+ errno = 0;
+ fcntl(thepipe->filedes, F_SETFL, 0);
#endif
if (errno)
@@ -94,7 +95,8 @@
fcntl(thepipe->filedes, F_SETFL, flags);
}
#else
- fcntl(thepipe->filedes, F_SETFL, 0);
+ errno = 0;
+ fcntl(thepipe->filedes, F_SETFL, FNDELAY);
#endif
if (errno)