]> Cypherpunks repositories - gostls13.git/commit
cmd/gofmt: don't permit -w with stdin
authorRobert Griesemer <gri@golang.org>
Mon, 25 Aug 2014 22:29:47 +0000 (15:29 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 25 Aug 2014 22:29:47 +0000 (15:29 -0700)
commit236cf308c298b49d64d32a76f5ee242a2b3bc1b4
tree0a9bf1c3b2e46a39dc836c6b17ce988de100485e
parentdff17f4617843bc4c7cbfcdb265cc0fb265c8252
cmd/gofmt: don't permit -w with stdin

Also: use 0x644 file permission if a new file
is created (should not happen anymore, though).

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/126610044
src/cmd/gofmt/gofmt.go