commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject svn commit: r732342 - /commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarInputStream.java
Date Wed, 07 Jan 2009 13:59:12 GMT
Author: tcurdt
Date: Wed Jan  7 05:59:11 2009
New Revision: 732342

URL: http://svn.apache.org/viewvc?rev=732342&view=rev
Log:
applied patch from Adrian Pronk

https://issues.apache.org/jira/browse/SANDBOX-74


Modified:
    commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarInputStream.java

Modified: commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarInputStream.java
URL: http://svn.apache.org/viewvc/commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarInputStream.java?rev=732342&r1=732341&r2=732342&view=diff
==============================================================================
--- commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarInputStream.java
(original)
+++ commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarInputStream.java
Wed Jan  7 05:59:11 2009
@@ -302,7 +302,7 @@
         }
         else
         {
-            return (int)m_oneBuf[ 0 ];
+            return (int)m_oneBuf[ 0 ] & 0xFF;
         }
     }
 



Mime
View raw message