In message <[EMAIL PROTECTED]> on Fri, 06 May 2005 09:08:52 +0200, Johan
Vromans <[EMAIL PROTECTED]> said:
jvromans> Johan Vromans <[EMAIL PROTECTED]> writes:
jvromans>
jvromans> > Richard Levitte - VMS Whacker <[EMAIL PROTECTED]> writes:
jvromans> >> Do you have any idea why that happens to you? Are you
jvromans> >> willing to dig a little and figure it out?
jvromans>
jvromans> One observation: it can happen with beta4, 3, 2, and 1.
Does that mean you have observed it in all of them? Have you checked
if that still happens if you change CtwmNextEvent() to initialise
tout, like this?
diff -u -r1.12.2.2 -r1.12.2.3
--- events.c 4 May 2005 10:48:19 -0000 1.12.2.2
+++ events.c 5 May 2005 13:35:17 -0000 1.12.2.3
@@ -581,7 +581,7 @@
int found;
fd_set mask;
int fd;
- struct timeval timeout, *tout;
+ struct timeval timeout, *tout = NULL;
if (RestartFlag)
DoRestart(CurrentTime);
jvromans> FYI: While grepping for select statements, I noticed one
jvromans> occurrence of "select(" while all others are "select (".
Yeah, different people have different coding styles. You can see that
it differs in many more ways throughout the source. I've some plans
to run indent on the source some day, to get a uniform layout, but
that's really the least of my worries right now.
Cheers,
RIchard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis