]> Cypherpunks repositories - gostls13.git/commit
cmd/gofmt: update error handling when writing to backup file
authorShivansh Rai <shivansh@freebsd.org>
Fri, 18 May 2018 01:20:43 +0000 (06:50 +0530)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 22 Aug 2018 16:46:34 +0000 (16:46 +0000)
commitd778a371be488312fe43b2d710dfc8c7afb3d29c
tree4f982d6575d3bc432612fc11d275ee89b97d9d12
parentc92354f46e468f89fcf1497e7c9e2f3c66025dfa
cmd/gofmt: update error handling when writing to backup file

As per commit aa0ae75, handling of io.ErrShortWrite is done in
*File.Write() itself.

Change-Id: I92924b51e8df2ae88e6e50318348f44973addba8
Reviewed-on: https://go-review.googlesource.com/113696
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/gofmt/gofmt.go