[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add EPIPE error return in pflocal/io.c:io_select() [Was: ...]
From: |
Samuel Thibault |
Subject: |
Re: Add EPIPE error return in pflocal/io.c:io_select() [Was: ...] |
Date: |
Mon, 17 Dec 2012 00:25:15 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Hello,
Svante Signell, le Fri 23 Nov 2012 13:18:18 +0100, a écrit :
> (Is the title better?)
Yes.
> Updated patch attached.
I had to rework it quite a bit: not only the mutex had to be unlocked,
but also this:
> pipe_acquire_reader (read_pipe);
so in the end I dropped the return entirely and simply let the code path
execute. I've also done the change on fifo & new-fifo.
pfinet would need the same kind of change, it'd "just" be quite more
involved, since what happens there is that the linux code gets compiled
with POLLERR defined to SOCKET_READ|SOCKET_WRITE, which does not permit
to distinguish error cases, so that'd have to be reworked, which I don't
have time for ATM.
Samuel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Add EPIPE error return in pflocal/io.c:io_select() [Was: ...],
Samuel Thibault <=