Opened 7 years ago
Closed 7 years ago
#13965 closed bug (fixed)
Polling /dev/null does not conform to POSIX
Reported by: | sfanxiang | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/POSIX | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Polling /dev/null with POLLOUT results in POLLOUT | POLLERR | POLLHUP, but the POSIX specification shows:
POLLHUP
... This event and POLLOUT are mutually-exclusive; a stream can never be writable if a hangup has occurred.
Attachments (5)
Change History (12)
by , 7 years ago
Attachment: | 0001-wait_for_objects-add-macros-for-output-only-select-t.patch added |
---|
by , 7 years ago
Attachment: | 0002-kernel-fd-don-t-notify-output-only-select-events-by-.patch added |
---|
by , 7 years ago
Attachment: | 0003-kernel-devfs-don-t-notify-output-only-select-events-.patch added |
---|
by , 7 years ago
Attachment: | 0004-kernel-vfs-don-t-notify-output-only-select-events-by.patch added |
---|
comment:1 by , 7 years ago
by , 7 years ago
Attachment: | 0001-kernel-add-dev-null-polling-test.patch added |
---|
comment:5 by , 7 years ago
Please submit patches at https://review.haiku-os.org rather than on the bugtracker.
comment:6 by , 7 years ago
Please submit patches at https://review.haiku-os.org rather than on the bugtracker.
Submitted as changes 64-68.
Note:
See TracTickets
for help on using tickets.
Conceptual patches attached.