Re: Select 2.1.65

H. Peter Anvin (
18 Nov 1997 07:49:17 GMT

Followup to: <>
By author: Chris Wedgwood <>
In newsgroup:
> I see select(2) has been restored to its `original' status of updating the
> timeout....
> Out of curiosity, why was this done?

It broke nfsd under heavy load. The Linux-specific behaviour is
actually "better" in the sense that standard Unix behaviour can be
easily emulated from Linux behaviour but not vice versa.
Unfortunately, it breaks poorly writted software.

If your program relies on broken behaviour, for now, link with -lbsd;
hopefully glibc will have this by default (with __select() as the
Linux-specific variant; this is what currently happens with -lbsd.)


    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See for web page and full PGP public key
        I am Bahá'í -- ask me about it or see
   "To love another person is to see the face of God." -- Les Misérables