commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Curtis Boyden (JIRA)" <j...@apache.org>
Subject [jira] Updated: (VFS-322) Tar files to contain files over 2GB in size
Date Fri, 24 Sep 2010 15:35:33 GMT

     [ https://issues.apache.org/jira/browse/VFS-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Curtis Boyden updated VFS-322:
------------------------------

    Attachment: PDI-3157.patch

I have attached a patch that modifies the TarInputStream to iterate in Integer.MAX_SIZE blocks
over the void skip(int) method if the size of a file is greater then Integer.MAX_SIZE.
There is also a unit test attached that generates a 3MB tar.gz that contains a 3GB .tar containing
a 3GB .txt file and verifies that the contents are correct.

I hope this is useful and I would like to see this feature make it into the official VFS code
line. (Pelase feel free to change the impl if you can improve it)

-Curtis

> Tar files to contain files over 2GB in size
> -------------------------------------------
>
>                 Key: VFS-322
>                 URL: https://issues.apache.org/jira/browse/VFS-322
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Curtis Boyden
>            Priority: Minor
>         Attachments: PDI-3157.patch
>
>
> It would be nice to be able to work with tar files that contain files over 2GB in size.

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