From dev-return-62869-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Tue Jan 11 18:30:39 2005 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 47730 invoked from network); 11 Jan 2005 18:30:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jan 2005 18:30:38 -0000 Received: (qmail 92193 invoked by uid 500); 11 Jan 2005 18:30:36 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 92150 invoked by uid 500); 11 Jan 2005 18:30:35 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 92137 invoked by uid 500); 11 Jan 2005 18:30:35 -0000 Received: (qmail 92134 invoked by uid 99); 11 Jan 2005 18:30:35 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 11 Jan 2005 10:30:35 -0800 Received: (qmail 47686 invoked by uid 1539); 11 Jan 2005 18:30:34 -0000 Date: 11 Jan 2005 18:30:34 -0000 Message-ID: <20050111183034.47685.qmail@minotaur.apache.org> From: peterreilly@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/tar TarOutputStream.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N peterreilly 2005/01/11 10:30:34 Modified: . WHATSNEW CONTRIBUTORS src/main/org/apache/tools/tar TarOutputStream.java Log: Write two EOF blocks for tar rather than one PR: 28776 Obtained from: Oliver Rossmueller Revision Changes Path 1.709 +3 -0 ant/WHATSNEW Index: WHATSNEW =================================================================== RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.708 retrieving revision 1.709 diff -u -r1.708 -r1.709 --- WHATSNEW 11 Jan 2005 13:58:18 -0000 1.708 +++ WHATSNEW 11 Jan 2005 18:30:34 -0000 1.709 @@ -123,6 +123,9 @@ * The subant task used the canonical version of a file path. This has been changed to use the absolute path. Bugzilla 30438. +* Tar now writes two EOF blocks rather than one. + Bugzilla report 28776 + Other changes: -------------- 1.42 +1 -0 ant/CONTRIBUTORS Index: CONTRIBUTORS =================================================================== RCS file: /home/cvs/ant/CONTRIBUTORS,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- CONTRIBUTORS 10 Jan 2005 17:12:10 -0000 1.41 +++ CONTRIBUTORS 11 Jan 2005 18:30:34 -0000 1.42 @@ -155,6 +155,7 @@ Nicola Ken Barozzi Nico Seessle Nigel Magnay +Oliver Rossmueller Patrick C. Beard Patrick Chanezon Patrick G. Heck (Gus Heck) 1.17 +4 -1 ant/src/main/org/apache/tools/tar/TarOutputStream.java Index: TarOutputStream.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/tar/TarOutputStream.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- TarOutputStream.java 9 Mar 2004 16:48:55 -0000 1.16 +++ TarOutputStream.java 11 Jan 2005 18:30:34 -0000 1.17 @@ -96,9 +96,12 @@ /** * Ends the TAR archive without closing the underlying OutputStream. - * The result is that the EOF record of nulls is written. + * The result is that the two EOF records of nulls are written. */ public void finish() throws IOException { + // See Bugzilla 28776 for a discussion on this + // http://issues.apache.org/bugzilla/show_bug.cgi?id=28776 + this.writeEOFRecord(); this.writeEOFRecord(); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org