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/25/18 7:39 AM, Florian Weimer wrote:
negative epoch values are clearly an extension over POSIX, but it's a widely used one, I think.
Yes, and every implementation I know of that has signed time_t supports this extension (of course some, like glibc, are buggy; but that's the intent).
There are a very few implementations with unsigned time_t, and these implementations have a similar issue with the positive value ((time_t) -1). The mktime code (which is shared with Gnulib) should work in that case as well.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |