On Aug 15, 2010, at 5:25 PM, Paul Eggert wrote:
> A similar problem in gzip format is that it supports only nonzero
> 32-bit time stamps, which limits it to the range from 1970-01-01
> 00:00:01 through 2106-02-07 06:28:15 UTC.  OK, so this is not as
> pressing a bug, but it wouldn't hurt to fix this while we're at it.

So the current MTIME field is unsigned?  RFC 1952 4.3 is unclear,
at least to me.  RFC 1952 mentions "Unix format" and since time_t
is usually signed, my guess would have been that MTIME is signed.
But I assume there are few files with modification times before
1970, so treating MTIME as unsigned is reasonable.



Reply via email to