1
0
mirror of https://github.com/golang/go synced 2024-11-24 22:57:57 -07:00
The Go programming language
Go to file
Christopher Wedgwood fe0eb17fad archive/tar: bug fixes.
1. If all data is exhausted using Read then a following Next will
   fail as if it saw EOF.  (Test case added.)
2. Seeking isn't always possible (i.e. sockets and pipes).  Fallback
   to read.  (Test case added.)
3. Fix to readHeader (cleaner fix pointed out by rsc).
   (TestReader modified.)
4. When Read has consumed all the data, don't try to read 0 bytes from reader.
   In cases where tr.nb is zero we attempt to read zero bytes and thus
   never see an EOF (this is most easily seen when the 'tar source' is
   something like bytes.Buffer{} as opposed to os.File).
5. If write is used to the point of ErrWriteTooLong, allow additional file entries.
6. Make close work as expected.  That is any further Write or
   WriteHeader attempts will result in ErrWriteAfterClose.
Fixes #419.

R=rsc, dsymonds1
https://golang.org/cl/162062
2009-12-14 11:35:02 -08:00
doc fix naked < as reported by pwil3058@gmail.com 2009-12-14 13:30:11 +11:00
include Ports of lib9, libbio and libmach to Windows. 2009-11-30 11:53:11 -08:00
lib Ported godefs to Windows. 2009-12-13 12:21:44 -08:00
misc Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/src 2009-12-11 15:14:09 -08:00
pkg more description 2009-10-15 23:08:46 -07:00
src archive/tar: bug fixes. 2009-12-14 11:35:02 -08:00
test Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/src 2009-12-11 15:14:09 -08:00
.hgignore build Make.deps during make.bash instead 2009-11-19 16:27:13 -08:00
.hgtags hgtags: add release tag, again. 2009-12-09 14:55:31 -08:00
AUTHORS A+C: two more names 2009-12-13 18:39:04 -08:00
CONTRIBUTORS A+C: two more names 2009-12-13 18:39:04 -08:00
favicon.ico add a favicon plus a couple of hi-res versions of gordon 2009-10-26 10:13:07 -07:00
LICENSE Add AUTHORS and LICENSE files. 2009-08-13 09:21:28 -07:00
README add a README file, so that if someone finds a 2009-11-08 09:57:37 -08:00

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install.html in your web browser.

After installing Go, you can view a nicely formatted
doc/install.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install.html.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.