commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] Created: (SANDBOX-303) TarArchiveEntry uses bad size for directories in the File-arg constructor
Date Wed, 18 Mar 2009 04:34:50 GMT
TarArchiveEntry uses bad size for directories in the File-arg constructor
-------------------------------------------------------------------------

                 Key: SANDBOX-303
                 URL: https://issues.apache.org/jira/browse/SANDBOX-303
             Project: Commons Sandbox
          Issue Type: Bug
          Components: Compress
            Reporter: Stefan Bodewig
            Assignee: Stefan Bodewig


The File-arg constructor sets the size to File.length() which may be different from 0 for
directories on Unix-like systems.

This leads to archives with entries that claim to have a length of say 4096 bytes but in fact
don't contain any data at all, rendering the created archive invalid.


-- 
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