#7859: poll() on fd of an exited process returns wrong revents
----------------------------+----------------------------
Reporter: scgtrp | Owner: phoudoin
Type: bug | Status: reopened
Priority: high | Milestone: Unscheduled
Component: System/POSIX | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------+----------------------------
Comment (by gbonvehi):
Just to be clear, the missing brackets I was referring to is in commit
https://git.haiku-os.org/haiku/commit/?id=hrev51343
{{{
@@ -616,14 +616,17 @@ Inode::NotifyEndClosed(bool writer)
if (fReadSelectSyncPool)
notify_select_event_pool(fReadSelectSyncPool, B_SELECT_DISCONNECTED);
+
notify_select_event_pool(fReadSelectSyncPool, B_SELECT_ERROR);
+
notify_select_event_pool(fReadSelectSyncPool, B_SELECT_READ);
}
}}}
--
Ticket URL: <https://dev.haiku-os.org/ticket/7859#comment:25>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.