commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jos van den Oever" <>
Subject Re: bug in compress library
Date Thu, 23 Mar 2006 21:56:52 GMT
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

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


On 3/23/2006, "Henri Yandell" <> 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 (subscribe at
> 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,
>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:
For additional commands, e-mail:

View raw message