Index: mozilla/nsprpub/pr/src/md/unix/uxproces.c |
=================================================================== |
--- mozilla/nsprpub/pr/src/md/unix/uxproces.c (revision 179237) |
+++ mozilla/nsprpub/pr/src/md/unix/uxproces.c (working copy) |
@@ -711,11 +711,6 @@ |
int rv; |
int flags; |
#endif |
-#ifdef SUNOS4 |
-#define _PR_NBIO_FLAG FNDELAY |
-#else |
-#define _PR_NBIO_FLAG O_NONBLOCK |
-#endif |
#ifdef AIX |
{ |
@@ -739,9 +734,9 @@ |
rv = pipe(pr_wp.pipefd); |
PR_ASSERT(0 == rv); |
flags = fcntl(pr_wp.pipefd[0], F_GETFL, 0); |
- fcntl(pr_wp.pipefd[0], F_SETFL, flags | _PR_NBIO_FLAG); |
+ fcntl(pr_wp.pipefd[0], F_SETFL, flags | O_NONBLOCK); |
flags = fcntl(pr_wp.pipefd[1], F_GETFL, 0); |
- fcntl(pr_wp.pipefd[1], F_SETFL, flags | _PR_NBIO_FLAG); |
+ fcntl(pr_wp.pipefd[1], F_SETFL, flags | O_NONBLOCK); |
#ifndef _PR_SHARE_CLONES |
pr_InstallSigchldHandler(); |