On Fri, Feb 29, 2008 at 10:00 AM, Kris Maglione <jg_AT_suckless.org> wrote:
> On Thu, Feb 28, 2008 at 07:55:44PM -0500, Kris Maglione wrote:
> > You're right, that's odd.
>
> Sorry. It's not so odd if it sends a TRead message after EOF.
Ah right, of course.
> I'm not quite sure why that'd happen, though. At any rate, I
> should probably just respond to any pending reads with 0 sized
> RReads when quitting. Simple enough.
I see what you mean... is there a race here? With everything shutting
down I expect there's some activity on /event (DestroyClients at
least). wmii doesn't have a massive window to shut down between
wmiir's ixp_read()s, but I guess you don't need long to close a
socket.
It's not obvious to me how you would get a broken pipe if the read
was pending when wmii quit.
-sqweek
Received on Fri Feb 29 2008 - 05:33:00 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:37:08 UTC