Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 9017 invoked from network); 7 Jan 2009 13:59:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2009 13:59:37 -0000 Received: (qmail 6235 invoked by uid 500); 7 Jan 2009 13:59:36 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 6044 invoked by uid 500); 7 Jan 2009 13:59:35 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 6035 invoked by uid 99); 7 Jan 2009 13:59:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 05:59:35 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 13:59:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D704123888AF; Wed, 7 Jan 2009 05:59:12 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: tcurdt@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090107135912.D704123888AF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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; } }