W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1996

Re: 2 small bugs in HTEvntrg.c

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Mon, 25 Mar 1996 13:39:39 -0500
Message-Id: <9603251839.AA07617@www20>
To: Erik Selberg <selberg@cs.washington.edu>
Cc: j.o.staurnes@usit.uio.no, www-lib@w3.org
Erik Selberg writes:
> j o staurnes writes:
> 
> >> The first is that the select() timeout won't work under linux ---
> >> linux, being a more annoying flavor of UNIX, will zero-out the timeval
> >> passed to select. Yeah, I think it's dumb too. Anyway, the following
> >> #ifdef's in the patch fix it.
> 
> > I disagree, Linux is one of the few OS' that select works as it
> > should. The timeval structure is modified according to the elapsed
> > time in the select call.
> 
> Depending on your version of linux. 1.2.11 zeros the damn thing
> out. Perhaps a bug later fixed. Regardless of my opinion, it's still a
> bug in libwww that doesn't restore it.

The time structure should be re-initialized just as the bit arrays are - then 
the problem will go away regardless of the OS.


-- 

Henrik Frystyk Nielsen, <frystyk@w3.org>
World-Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA
Received on Monday, 25 March 1996 13:39:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:26 GMT