You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Derick Rethans (JIRA)" <ji...@apache.org> on 2010/07/30 09:55:16 UTC
[jira] Assigned: (ZETACOMP-8) [Archive] Double extraction causes
empty file
[ https://issues.apache.org/jira/browse/ZETACOMP-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Derick Rethans reassigned ZETACOMP-8:
-------------------------------------
Assignee: Derick Rethans
> [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
> Assignee: Derick Rethans
> Attachments: archive-extract-test-public.php, Archive_src_tar_v7.php-trunk.diff
>
>
> 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. I can give it to current or former eZ employees, please contact me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.