Re: [wmii] Strange output when closing x

From: sqweek <>
Date: Fri, 29 Feb 2008 13:32:55 +0900

On Fri, Feb 29, 2008 at 10:00 AM, Kris Maglione <> 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
 It's not obvious to me how you would get a broken pipe if the read
was pending when wmii quit.
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