summaryrefslogtreecommitdiff
path: root/pr/src/md/unix/uxpoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/src/md/unix/uxpoll.c')
-rw-r--r--pr/src/md/unix/uxpoll.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pr/src/md/unix/uxpoll.c b/pr/src/md/unix/uxpoll.c
index 56a0d3dc..c504cd4d 100644
--- a/pr/src/md/unix/uxpoll.c
+++ b/pr/src/md/unix/uxpoll.c
@@ -173,6 +173,7 @@ static PRInt32 NativeThreadPoll(
{
/* make poll() ignore this entry */
syspoll[index].fd = -1;
+ pds[index].out_flags = 0;
}
}
@@ -384,6 +385,10 @@ static PRInt32 NativeThreadSelect(
}
}
}
+ else
+ {
+ pd->out_flags = 0;
+ }
}
if (0 != ready) return ready; /* no need to block */