incubator-zeta-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunnstein Lye (JIRA)" <j...@apache.org>
Subject [jira] Created: (ZETACOMP-8) [Archive] Double extraction causes empty file
Date Fri, 30 Jul 2010 09:42:15 GMT
[Archive] Double extraction causes empty file
---------------------------------------------

                 Key: ZETACOMP-8
                 URL: https://issues.apache.org/jira/browse/ZETACOMP-8
             Project: Zeta Components
          Issue Type: Bug
         Environment: Linux, Apache, PHP 5.2, eZ Publish 4.4 alpha6
            Reporter: Gunnstein Lye


Using extractCurrent() to extract a single file, and then extract() to dump the whole archive,
the file I extracted first is now empty (0 byte length).

I have test code to reproduce this, and a patch that fixes it for me. If the patch is correct,
the issue is that zero is incorrectly assumed equal to false.

I see the issue only with one particular eZ Publish package file (ezpkg/tar.gz) so it could
be a problem with that file as well. GNU tar/gz extracts it without problems or warnings,
though. I cannot post this file publicly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message