peterreilly    2005/01/11 10:31:12

  Modified:    .        Tag: ANT_16_BRANCH WHATSNEW CONTRIBUTORS
               src/main/org/apache/tools/tar Tag: ANT_16_BRANCH
                        TarOutputStream.java
  Log:
  sync
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.503.2.157 +3 -0      ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.503.2.156
  retrieving revision 1.503.2.157
  diff -u -r1.503.2.156 -r1.503.2.157
  --- WHATSNEW  11 Jan 2005 13:57:19 -0000      1.503.2.156
  +++ WHATSNEW  11 Jan 2005 18:31:12 -0000      1.503.2.157
  @@ -7,6 +7,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.1.2.30  +1 -0      ant/CONTRIBUTORS
  
  Index: CONTRIBUTORS
  ===================================================================
  RCS file: /home/cvs/ant/CONTRIBUTORS,v
  retrieving revision 1.1.2.29
  retrieving revision 1.1.2.30
  diff -u -r1.1.2.29 -r1.1.2.30
  --- CONTRIBUTORS      10 Jan 2005 17:12:28 -0000      1.1.2.29
  +++ CONTRIBUTORS      11 Jan 2005 18:31:12 -0000      1.1.2.30
  @@ -153,6 +153,7 @@
   Nicola Ken Barozzi
   Nico Seessle
   Nigel Magnay
  +Oliver Rossmueller
   Patrick C. Beard
   Patrick Chanezon
   Patrick G. Heck (Gus Heck)
  
  
  
  No                   revision
  No                   revision
  1.12.2.5  +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.12.2.4
  retrieving revision 1.12.2.5
  diff -u -r1.12.2.4 -r1.12.2.5
  --- TarOutputStream.java      9 Mar 2004 17:02:00 -0000       1.12.2.4
  +++ TarOutputStream.java      11 Jan 2005 18:31:12 -0000      1.12.2.5
  @@ -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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to