On Fri, 2022-12-09 at 15:06 +0000, Edward Welbourne wrote:
> MS's time_t is indeed 64-bit; and MS's time_t-related POSIX functions
> don't support times before the start of 1970, i.e. negative time_t
> values, so it is eminently plausible MS's time_t is a 64-bit unsigned
> int.  (Those same functions also don't support times after something
> like year 3000, but that's another story.)  So it seems eminently
> likely that your touch has set the time-stamp to just a little bit
> "less than" 0.

Interestingly on GNU/Linux, in glibc, you can provide negative time_t
values [1] and correctly represent times earlier than the epoch. 
That's probably why it works on my system even though I'm at UTC-0500.


[1] https://www.gnu.org/software/libc/manual/html_node/Time-Types.html

Reply via email to