Subject: Re: gzip and amanda conflict?
To: None <>
From: Alan Barrett <>
List: current-users
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  I expect
that the difference will lead to interoperability problems.

--apb (Alan Barrett)