Gisle Aas wrote: > Rafael Garcia-Suarez <[EMAIL PROTECTED]> writes: > > > Change 24194 by [EMAIL PROTECTED] on 2005/04/07 12:42:07 > > > > Mention that select() returns -1 on error, > > as suggested by Hernan Perez Masci > > Hmmm, returning a TRUE value on failure is quite unperlish. I wonder > how much software got this wrong? For instance among the core modules > we find code like this.
That's right, however returning 0 on non-error makes sense (see select(2)) and there are backward compatibility issues (in the event that some code gets it right...)
