ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/tar TarOutputStream.java
Date Tue, 11 Jan 2005 18:30:34 GMT
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


Mime
View raw message