The Go programming language
Go to file
Fazlul Shahriar 0aa13c999b gofmt: race condition in error reporting and setting exit code
How to reproduce:

	$ mkdir /tmp/foo
	$ cp /dev/null /tmp/foo/bar.go
	$ chmod -r /tmp/foo/bar.go
	$ gofmt /tmp/foo
	open /tmp/foo/bar.go: permission denied
	$ echo $?		# should echo 2
	0
	$

Maybe you need to put a call to time.Sleep at the beginning of report().

R=gri
CC=golang-dev
https://golang.org/cl/164073
2009-12-02 13:02:42 -08:00
doc Integrated feedback by Ken. 2009-12-01 16:15:53 -08:00
include Ports of lib9, libbio and libmach to Windows. 2009-11-30 11:53:11 -08:00
lib codereview: move reviewers to cc line after submit, 2009-12-02 09:10:59 -08:00
misc Add 'copy' as a Go builtin function for Vim syntax highlighter spec. 2009-12-01 16:45:21 -08:00
pkg more description 2009-10-15 23:08:46 -07:00
src gofmt: race condition in error reporting and setting exit code 2009-12-02 13:02:42 -08:00
test change command-line argument to be 2009-11-30 15:16:40 -08:00
.hgignore build Make.deps during make.bash instead 2009-11-19 16:27:13 -08:00
.hgtags release.2009-11-17: tag as of earlier this evening 2009-11-17 22:00:17 -08:00
AUTHORS A/C: add Charles L. Dorian 2009-12-01 12:45:41 -08:00
CONTRIBUTORS A/C: add Charles L. Dorian 2009-12-01 12:45:41 -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.