[PATCH] Ensure mktime sets errno on error (bug 23789)
Paul Eggert
eggert@cs.ucla.edu
Sat Oct 27 08:18:00 GMT 2018
On 10/26/18 4:26 PM, Albert ARIBAUD wrote:
> Ok, so this requirement extends to all functions called by mktime(),
> directly or indirectly (and ditto for gmtime).
Hmm, well, I'm starting to see why you'd rather have mktime save and
restore errno when there's not an error. That would also be OK, and that
might lighten the load on the functions mktime calls.
More information about the Libc-alpha
mailing list