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