diff options
author | Dragana Damjanovic <dd.mozilla@gmail.com> | 2016-09-09 13:28:29 -0700 |
---|---|---|
committer | Dragana Damjanovic <dd.mozilla@gmail.com> | 2016-09-09 13:28:29 -0700 |
commit | c485be5861754d99219bbb9c7df2d88e1b58d293 (patch) | |
tree | 44de3293346e818109d19fcbfa3b2f38b7beb788 | |
parent | b8af7c204532c09bd0f22382f13588a2e5608755 (diff) | |
download | nspr-hg-NSPR_4_13_BETA3.tar.gz |
Bug 1289145 - Make pipe non blocking. r=:tedmielczarekNSPR_4_13_BETA3
-rw-r--r-- | pr/src/pthreads/ptio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pr/src/pthreads/ptio.c b/pr/src/pthreads/ptio.c index e4fe5198..98eef47c 100644 --- a/pr/src/pthreads/ptio.c +++ b/pr/src/pthreads/ptio.c @@ -3338,6 +3338,7 @@ static PRFileDesc *pt_SetMethods( case PR_DESC_PIPE: fd->methods = PR_GetPipeMethods(); pt_MakeFdNonblock(osfd); + fd->secret->nonblocking = PR_TRUE; break; default: break; |