]> Cypherpunks repositories - gostls13.git/commit
archive/tar: catch short writes.
authorDavid Symonds <dsymonds@golang.org>
Mon, 12 Mar 2012 06:33:35 +0000 (17:33 +1100)
committerDavid Symonds <dsymonds@golang.org>
Mon, 12 Mar 2012 06:33:35 +0000 (17:33 +1100)
commitd75abb7ca323ad8911b900cb4955e533e35f4559
tree2381a4ed96690f86ed151d9a1d54632564d4cb4b
parentac0789c63e23b2f10adb3c162c75558cba51fc38
archive/tar: catch short writes.

Also make error messages consistent throughout.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5777064
src/pkg/archive/tar/reader.go
src/pkg/archive/tar/writer.go
src/pkg/archive/tar/writer_test.go