[855] in linux-net channel archive
Re: Problem with Archie client (and fix)
daemon@ATHENA.MIT.EDU (Rob Janssen reading Linux mailingl)
Wed Aug 9 21:38:02 1995
From: linux@pe1chl.ampr.org (Rob Janssen reading Linux mailinglist)
To: urlichs@smurf.noris.de (Matthias Urlichs)
Date: Tue, 8 Aug 1995 09:40:13 +0200 (MET DST)
Cc: submit-linux-dev-net@ratatosk.yggdrasil.com
In-Reply-To: <404pq7$chg@smurf.noris.de> from "Matthias Urlichs" at Aug 7, 95 12:27:19 pm
Reply-To: linux-vger@wab-tis.rabobank.nl
According to Matthias Urlichs:
> Here we go again... On these other systems, select() not returning the
> leftover timer value is mentioned as a bug in the manpage. It's not the
> problem of Linux if that bug is fixed.
>
> That being said, if select() times out, IMHO, there's no good reason to
> zero out the timer... well, OK, there is -- we catch more buggy programs
> that way. ;-)
When you don't do that, there will be subtle problems with programs that
use the timer value, because it will go down for select()'s where data
comes in and will thus creep to zero.
In this case, it is better to have an apparent failure that quickly directs
to the cause, I think.
Rob
--
+------------------------------------+--------------------------------------+
| Rob Janssen rob@knoware.nl | AMPRnet: rob@pe1chl.ampr.org |
| e-mail: pe1chl@wab-tis.rabobank.nl | AX.25 BBS: PE1CHL@PI8WNO.#UTR.NLD.EU |
+------------------------------------+--------------------------------------+