FreeBSD Bugzilla – Attachment 24686 Details for
Bug 42175
libc_r: possible for select(2) to return ok with no bit set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.02 KB, created by
Archie Cobbs
on 2002-08-29 22:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Archie Cobbs
Created:
2002-08-29 22:30:01 UTC
Size:
1.02 KB
patch
obsolete
>Index: uthread_select.c >=================================================================== >RCS file: /home/ncvs/src/lib/libc_r/uthread/uthread_select.c,v >retrieving revision 1.20 >diff -u -r1.20 uthread_select.c >--- uthread_select.c 2 May 2002 19:58:43 -0000 1.20 >+++ uthread_select.c 29 Aug 2002 21:06:21 -0000 >@@ -179,8 +179,9 @@ > got_events = 0; > if (readfds != NULL) { > if (FD_ISSET(data.fds[i].fd, readfds)) { >- if (data.fds[i].revents & (POLLIN | >- POLLRDNORM)) >+ if ((data.fds[i].revents & (POLLIN >+ | POLLRDNORM | POLLERR >+ | POLLHUP | POLLNVAL)) != 0) > got_events++; > else > FD_CLR(data.fds[i].fd, readfds); >@@ -188,8 +189,9 @@ > } > if (writefds != NULL) { > if (FD_ISSET(data.fds[i].fd, writefds)) { >- if (data.fds[i].revents & (POLLOUT | >- POLLWRNORM | POLLWRBAND)) >+ if ((data.fds[i].revents & (POLLOUT >+ | POLLWRNORM | POLLWRBAND | POLLERR >+ | POLLHUP | POLLNVAL)) != 0) > got_events++; > else > FD_CLR(data.fds[i].fd,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42175
: 24686