Richard Braun, le Mon 26 Nov 2012 14:30:40 +0100, a écrit :
> 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.

In the read case, the end of file will be detected by a zero-read, not
an EPIPE.

Samuel

Reply via email to