On Fri, Nov 23, 2012 at 01:55:19AM +0100, Samuel Thibault wrote: > About the behavior change, I'd tend to agree, but I'd rather get others' > opinion too. > > I guess what you actually want to fix is the error case on poll()? > (actually here the only error that can happen is EPIPE) > (that would have saved a mail roundtrip if you had simply said so in > your mail)
I only see EPIPE in pipe_wait_writable, which is only used in case SELECT_WRITE is set. I'm not sure how this will fix the behaviour for the POLLIN case. -- Richard Braun