commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r1659649 - in /commons/proper/compress/trunk/src: main/java/org/apache/commons/compress/archivers/tar/TarUtils.java test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java test/resources/COMPRESS-178.tar
Date Fri, 20 Feb 2015 16:33:39 GMT
On 2015-02-15, sebb wrote:

> On 13 February 2015 at 19:12,  <bodewig@apache.org> wrote:
>> Author: bodewig
>> Date: Fri Feb 13 19:12:09 2015
>> New Revision: 1659649

>> URL: http://svn.apache.org/r1659649
>> Log:
>> python tarfile library seems to create embedded NULs, COMPRESS-301, unit test to
follow

> -1 (for the moment)

reverted.

Actually the file src/test/resources/COMPRESS-178.tar is one with
embedded NULs in a numeric field.  This is what GNU tar says

$ tar tvf COMPRESS-178.tar
tar: This does not look like a tar archive
tar: Skipping to next header
-rw-r--r-- tcurdt/tcurdt    82 2007-11-14 11:19 test2.xml
tar: Exiting with failure status due to previous errors

It is a bit more forgiving that Compress as it processes the remainder
of the archive, but doesn't accept the "broken" header either.

Stefan

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


Mime
View raw message