You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2010/02/18 17:12:27 UTC

[jira] Resolved: (COMPRESS-74) ZipArchiveInputStream fails to update count of bytes read

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

Stefan Bodewig resolved COMPRESS-74.
------------------------------------

    Resolution: Fixed

fixed with svn revision 911467

> ZipArchiveInputStream fails to update count of bytes read
> ---------------------------------------------------------
>
>                 Key: COMPRESS-74
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-74
>             Project: Commons Compress
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Sebb
>             Fix For: 1.1
>
>
> ZipArchiveInputStream fails to call count() in some cases where it reads (or puts back) data from the input stream.
> Not quite sure how to handle put-back yet, as a count of -1 is currently ignored, so how does one count a single byte that is put back?
> Easy enough to hack this in - count(1);count(-2); - but that's rather messy.

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