On 2010-08-03 at 16:12:51 [+0200], François Revol <revol@xxxxxxx> wrote: > Le 3 août 2010 à 08:55, axeld@xxxxxxxxxxxxxxxx a écrit : > > > Author: axeld > > Date: 2010-08-03 08:55:28 +0200 (Tue, 03 Aug 2010) > > New Revision: 37860 > > Changeset: http://dev.haiku-os.org/changeset/37860 > > Ticket: http://dev.haiku-os.org/ticket/5947 > > > > Modified: > > haiku/trunk/src/system/kernel/fs/fifo.cpp > > Log: > > * Implemented a different way to notify waiting read()s when a file > > descriptor > > is closed; their ReadRequest will now be notified with B_FILE_ERROR. > > * This is a better fix for #5947, though note that I left the changes in > > Inode::ReadDataFromBuffer() in place, as I think this is what POSIX > > requires. > > Maybe it'd be interesting to also unblock select() calls on the exceptfds ? The VFS already does that. Does it not work in some case? CU, Ingo