An error occurred fetching the project authors.
- 13 Feb, 2014 1 commit
-
-
Alexander Larsson authored
This adds support for archives with the SCHILY.xattr field in the pax header. This is what gnu tar and star generate. Fixes #7154. LGTM=dsymonds R=golang-codereviews, gobot, dsymonds CC=golang-codereviews https://golang.org/cl/54570043
-
- 27 Jan, 2014 1 commit
-
-
Brad Fitzpatrick authored
Use the smaller read-only bytes.NewReader/strings.NewReader instead of a bytes.Buffer when possible. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/54660045
-
- 21 Jun, 2013 1 commit
-
-
Dave Cheney authored
trivial: it is not a serious problem to leak a fd in a short lived process, but it was obscuring my investigation of issue 5593. R=golang-dev, iant, bradfitz CC=golang-dev https://golang.org/cl/10391043
-
- 14 May, 2013 1 commit
-
-
Shenghou Ma authored
Fixes #5290. R=golang-dev, dave, bradfitz, r CC=golang-dev https://golang.org/cl/8763044
-
- 25 Feb, 2013 1 commit
-
-
Rob Pike authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7393059
-
- 11 Feb, 2013 1 commit
-
-
Shane Hansen authored
Support reading pax archives and applying extended attributes like long names, subsecond mtime resolutions, etc. Default to writing pax archives for long file and link names. Support reading gnu archives using the ././@LongLink extended header for file name and link target. Fixes #3300 R=dsymonds, dave, rogpeppe, remyoudompheng, chressie, rsc CC=golang-dev https://golang.org/cl/6700047
-
- 25 Jan, 2012 1 commit
-
-
Joel Sing authored
Reimplement the test based on code from adg@golang.org. The previous version has a race since the file is closed via defer rather than in the go routine. This meant that the file could be closed before the go routine has actually received io.EOF. It then receives EBADF and continues to do zero-byte writes to the pipe. This addresses an issue seen on FreeBSD and OpenBSD, where the test passes but exits with a SIGPIPE, resulting in a failure. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5554083
-
- 13 Dec, 2011 1 commit
-
-
Christopher Wedgwood authored
R=dsymonds CC=golang-dev https://golang.org/cl/5487064
-
- 02 Dec, 2011 1 commit
-
-
Russ Cox authored
R=golang-dev, bradfitz, gri CC=golang-dev https://golang.org/cl/5451079
-
- 01 Dec, 2011 1 commit
-
-
Adam Langley authored
This is the result of running `gofix -r hashsum` over the tree, changing the hash function implementations by hand and then fixing a couple of instances where gofix didn't catch something. The changed implementations are as simple as possible while still working: I'm not trying to optimise in this CL. R=rsc, cw, rogpeppe CC=golang-dev https://golang.org/cl/5448065
-
- 30 Nov, 2011 1 commit
-
-
Russ Cox authored
R=bradfitz, gri, r, dsymonds CC=golang-dev https://golang.org/cl/5390042
-
- 02 Nov, 2011 1 commit
-
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5322051
-
- 14 Jul, 2011 1 commit
-
-
Robert Griesemer authored
manual changes in src/pkg/go/printer, src/cmd/gofix/signal_test.go (cd src/cmd/gofix/testdata; gofmt -w *.in *.out) (cd src/pkg/go/printer; gotest -update) gofmt -w misc src runs all tests R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4715041
-
- 05 Apr, 2011 1 commit
-
-
Rob Pike authored
We replace the current Open with: OpenFile(name, flag, perm) // same as old Open Open(name) // same as old Open(name, O_RDONLY, 0) Create(name) // same as old Open(name, O_RDWR|O_TRUNC|O_CREAT, 0666) This CL includes a gofix module and full code updates: all.bash passes. (There may be a few comments I missed.) The interesting packages are: gofix os Everything else is automatically generated except for hand tweaks to: src/pkg/io/ioutil/ioutil.go src/pkg/io/ioutil/tempfile.go src/pkg/crypto/tls/generate_cert.go src/cmd/goyacc/goyacc.go src/cmd/goyacc/units.y R=golang-dev, bradfitzwork, rsc, r2 CC=golang-dev https://golang.org/cl/4357052
-
- 08 Dec, 2010 1 commit
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/3431046
-
- 02 Mar, 2010 1 commit
-
-
Robert Griesemer authored
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev https://golang.org/cl/223076
-
- 26 Feb, 2010 1 commit
-
-
Russ Cox authored
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev https://golang.org/cl/224062
-
- 15 Dec, 2009 1 commit
-
-
Robert Griesemer authored
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 1st set of files. R=rsc CC=agl, golang-dev, iant, ken2, r https://golang.org/cl/180047
-
- 14 Dec, 2009 1 commit
-
-
Christopher Wedgwood authored
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
-
- 09 Nov, 2009 1 commit
-
-
Robert Griesemer authored
R=rsc, r http://go/go-review/1025029
-
- 06 Oct, 2009 1 commit
-
-
Russ Cox authored
R=gri DELTA=900 (106 added, 31 deleted, 763 changed) OCL=35384 CL=35396
-
- 17 Sep, 2009 1 commit
-
-
Russ Cox authored
R=r OCL=34731 CL=34731
-
- 15 Sep, 2009 1 commit
-
-
Russ Cox authored
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
-
- 12 Aug, 2009 1 commit
-
-
Russ Cox authored
to whole-package compilation. R=r OCL=33070 CL=33101
-
- 09 Aug, 2009 1 commit
-
-
David Symonds authored
Fix octal parsing that it unearthed. R=rsc APPROVED=rsc DELTA=11 (5 added, 0 deleted, 6 changed) OCL=32924 CL=32945
-
- 09 Jul, 2009 2 commits
-
-
David Symonds authored
- rename untar{,_test}.go to reader{,_test}.go. - fix up some comments. - improve test output if it fails. R=rsc APPROVED=rsc DELTA=821 (400 added, 392 deleted, 29 changed) OCL=31376 CL=31378
-
David Symonds authored
R=rsc APPROVED=rsc DELTA=456 (382 added, 66 deleted, 8 changed) OCL=31246 CL=31372
-
- 07 Jul, 2009 1 commit
-
-
David Symonds authored
R=rsc APPROVED=rsc DELTA=32 (26 added, 4 deleted, 2 changed) OCL=31172 CL=31242
-
- 29 Jun, 2009 1 commit
-
-
Russ Cox authored
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
-
- 22 Jun, 2009 1 commit
-
-
Russ Cox authored
remove io.ErrEOF. rename io.FullRead to io.ReadFull, to match ReadAtLeast and ReadAll. remove io.FullReader, because it is now unused. R=r DELTA=295 (88 added, 105 deleted, 102 changed) OCL=30544 CL=30588
-
- 11 Jun, 2009 1 commit
-
-
David Symonds authored
Compute checksums in both ways (unsigned and signed). R=rsc APPROVED=rsc DELTA=188 (145 added, 21 deleted, 22 changed) OCL=30126 CL=30179
-
- 09 Jun, 2009 2 commits
-
-
Rob Pike authored
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
-
David Symonds authored
R=rsc APPROVED=rsc DELTA=371 (370 added, 0 deleted, 1 changed) OCL=30029 CL=30084
-