[PATCH] Ensure mktime sets errno on error (bug 23789)

Andreas Schwab schwab@suse.de
Thu Oct 25 08:34:00 GMT 2018


On Okt 25 2018, Albert ARIBAUD <albert.aribaud@3adev.fr> wrote:

> The change is about errno, which is part of the public interface, so I
> considered it was more logical to put it in the wrapper which
> implements the public interface than in an internal function.

I think timegm should get the same treatment for consistency.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list