bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: fixing the 32-bit size and time limits in gzip file format


From: gualuboo-test
Subject: Re: RFC: fixing the 32-bit size and time limits in gzip file format
Date: Thu, 23 Sep 2010 01:18:03 +0530 (IST)

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

[Prev in Thread] Current Thread [Next in Thread]