[3749] in testers
Re: sun4 [8.2.1]: sshd
daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Jul 10 12:00:42 1998
To: John Hawkinson <jhawk@MIT.EDU>
Cc: testers@MIT.EDU
In-Reply-To: Your message of "Fri, 10 Jul 1998 11:38:31 EDT."
<199807101538.LAA05949@contents-vnder-pressvre.mit.edu>
Date: Fri, 10 Jul 1998 12:00:35 EDT
From: Greg Hudson <ghudson@MIT.EDU>
> Anyhow, at such times as Sun is pretending to be X/Open compliant,
> they're within their rights to reject timeouts longer than 32 days.
> While 25 days isn't longer than 32 days, so they're still
> technically noncompliant, the spirit of the paragraph makes it clear
> that applications need to Just Deal Specially if they want to permit
> long select() timeouts.
I think you misread. The paragraph you quoted states:
> If the timeout argument specifies a timeout interval greater than
> the implementation-dependent maximum value, the maximum value will
> be used as the actual timeout value.
So it is never appropriate to error out with EINVAL if the timeout
argument is too high for thte implementation.