diff options
| author | John Birrell <jb@FreeBSD.org> | 1998-06-12 22:56:49 +0000 |
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 1998-06-12 22:56:49 +0000 |
| commit | 4e4527d08f423d5c9041e8e9776b9388455d5b5b (patch) | |
| tree | 77e28b14d60703d6da36b629b58cdf631bbbd079 /lib | |
| parent | da293e261665b07aab01b835ef638bb277b67600 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc_r/uthread/uthread_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_select.c b/lib/libc_r/uthread/uthread_select.c index 7db3ed2f2444..c43e0e3ee3c4 100644 --- a/lib/libc_r/uthread/uthread_select.c +++ b/lib/libc_r/uthread/uthread_select.c @@ -140,7 +140,7 @@ select(int numfds, fd_set * readfds, fd_set * writefds, if (FD_ISSET(i, &write_locks)) _thread_fd_unlock(i, FD_WRITE); - if (ret > 0) { + if (ret >= 0) { if (readfds != NULL) { for (i = 0; i < numfds; i++) { if (FD_ISSET(i, readfds) && |
