Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Unified Diff: mozilla/nsprpub/pr/src/md/unix/uxproces.c

Issue 12089033: Update to NSPR 4.9.5 Beta 2, part 2: actual changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mozilla/nsprpub/pr/src/md/unix/unix_errors.c ('k') | mozilla/nsprpub/pr/src/md/unix/uxrng.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « mozilla/nsprpub/pr/src/md/unix/unix_errors.c ('k') | mozilla/nsprpub/pr/src/md/unix/uxrng.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698