This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |