glibc bug 23789 (was: [PATCH v3] Y2038: make __mktime_internal compatibles with __time64_t)
Paul Eggert
eggert@cs.ucla.edu
Fri Oct 26 01:57:00 GMT 2018
On 10/24/18 8:59 AM, Albert ARIBAUD wrote:
>
> BTW: Paul, your program returns 2 when errno is not EOVERFLOW, but 2 is
> not supported as an EXIT_* value, only 0 (EXIT_SUCCESS), 1
> (EXIT_FAILURE) and 77 (EXIT_UNSUPPORTED). I assume that was an ad hoc
> choice to distinguish the "errno is not EOVERFLOW" failure from a
> hypothetical "mktime did not return -1" failure.
Yes, that's right. The test was originally written without the test
framework in mind.
More information about the Libc-alpha
mailing list