aboutsummaryrefslogtreecommitdiffstats
path: root/devel/nspr/files/patch-bugzilla-684758
blob: efdb0c102451718d98877f509c0528fe4ed6ed3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ../pr/src/pthreads/ptio.c   2011-09-02 12:14:24.000000000 +0200
+++ ../pr/src/pthreads/ptio.c   2011-09-02 12:14:27.000000000 +0200
@@ -1635,7 +1635,7 @@
         PR_SetError(PR_BAD_DESCRIPTOR_ERROR, 0);
         return PR_FAILURE;
     }
-    if ((out_flags & (PR_POLL_WRITE | PR_POLL_EXCEPT | PR_POLL_ERR)) == 0)
+    if ((out_flags & (PR_POLL_WRITE | PR_POLL_EXCEPT | PR_POLL_ERR | PR_POLL_HUP)) == 0)
     {
         PR_ASSERT(out_flags == 0);
         PR_SetError(PR_IN_PROGRESS_ERROR, 0);