forked from apache/apr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a longstanding missunderstanding in our kqueue pollset code. It t…
…urns out that the kqueue filter types are not bitfields, so checking for them via & EVFILT_READ or & EVFILT_WRITE is inappropriate. Test Fixes By: Joe Orton * poll/unix/kqueue.c (get_kqueue_revent): Use == instead of & when testing for filter types. * test/testpoll.c (multi_event_pollset): Handle the fact that we can sometimes get multiple events for a single socket. * CHANGES: Note fix. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@386154 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Garrett Rooney
committed
Mar 15, 2006
1 parent
4df9098
commit 847ad00
Showing
3 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters