You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Jos van den Oever <jo...@vandenoever.info> on 2006/03/23 22:56:52 UTC

Re: bug in compress library

Hi Henri,

No problem. But in the meantime, I've moved on to using C++ for reading
the tar files. I figured out the format and wrote my own code. It turned
out not to be that hard and I can read most of my tar files now very
fast.

I forward this mail to the commons list without subscribing. I hope it
doesn't bounce.

Cheers,
Jos

On 3/23/2006, "Henri Yandell" <ba...@generationjava.com> wrote:

>
>Catching up on old email from when I was moving house (had the family on a
>plane when you emailed :) ).
>
>Could you send that to commons-user@jakarta.apache.org (subscribe at
>commons-user-subscribe@jakarta.apache.org if you'd like to). Much more
>chance of the people who are working on compres at the moment seeing that.
>
>Thanks, sorry for the delay in replying,
>
>Hen
>
>On Sat, 25 Feb 2006, Jos van den Oever wrote:
>
>> Hello Henri,
>>
>> I found a bug in the tarstream class. When reading a simple text file
>> containing
>> only 'hello' (with or without newline), the stream will not complain
>> and accepts the file. The values for 'mode' and 'modTime' are 0, but
>> no InvalidHeaderException.
>>
>> I'm using the library to recognize tar files, but with the current
>> version of Commons Compress i need to add a test for modTime and mode to
>> make sure the file is not a simple text file instead of a tar archive.
>>
>> Cheers,
>> Jos
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org