]> Cypherpunks repositories - gostls13.git/commitdiff
doc: document archive/tar changes
authorRuss Cox <rsc@golang.org>
Thu, 14 Jan 2016 02:13:02 +0000 (21:13 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 14 Jan 2016 03:08:30 +0000 (03:08 +0000)
Fixes #13647.

Change-Id: I28df7ade9b5abd79ce6b9c3d14ceaa988e86fc01
Reviewed-on: https://go-review.googlesource.com/18642
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
doc/go1.6.html

index c88271bdcc3c19309539c0a5c49517c24ce3eeb4..61b2449dad062c8729cd6eefbc21c8e19cfc4eb1 100644 (file)
@@ -471,6 +471,16 @@ and <code>"page"</code> blocks to reuse the formatting for another page.
 
 <ul>
 
+<li>
+The <a href="/pkg/archive/tar/"><code>archive/tar</code></a> package's
+implementation corrects many bugs in rare corner cases of the file format.
+One visible change is that the
+<a href="/pkg/archive/tar/#Reader"><code>Reader</code></a> type's
+<a href="/pkg/archive/tar/#Reader.Read"><code>Read</code></a> method
+now presents the content of special file types as being empty,
+returning <code>io.EOF</code> immediately.
+</li>
+
 <li>
 In the <a href="/pkg/archive/zip/"><code>archive/zip</code></a> package, the
 <a href="/pkg/archive/zip/#Reader"><code>Reader</code></a> type now has a