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]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]