Subject: Re: gzip and amanda conflict?
To: None <current-users@NetBSD.org>
From: Alan Barrett <firstname.lastname@example.org>
Date: 09/19/2005 12:07:00
On Mon, 19 Sep 2005, Mike M. Volokhov wrote:
> Folks, could you please take a look at the quick patch below? Now, if
> input data is great than 4G, gzip will produce warning only (with exit
> code = 0) and will set uncompressed file size to zero rather junk.
OK, so you propose to store 0 in the 32-bit size field of the trailer
if the file is too large. The gzip folk, on the other hand, seem to
have decided to let gzip continue to store (size & 0xffffffff) in the
32-bit size field, and to make gunzip verify that (size & 0xffffffff) is
correct. (See the patch in http://www.gzip.org/4g-patch.tar.) I expect
that the difference will lead to interoperability problems.
--apb (Alan Barrett)