This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Ensure mktime sets errno on error (bug 23789)
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.