]> Cypherpunks repositories - gostls13.git/commit
io/ioutil: make WriteFile notice errors from Close()
authorRobert Obryk <robryk@gmail.com>
Thu, 6 Jun 2013 04:16:44 +0000 (21:16 -0700)
committerRob Pike <r@golang.org>
Thu, 6 Jun 2013 04:16:44 +0000 (21:16 -0700)
commit961411900730bd8dd14781ce8e965701eefe5577
tree0e2373776b0af6de01554aa1ad314550bd69932d
parent6bf6cae28ee008a47cb23d6b80167cb6f45a8973
io/ioutil: make WriteFile notice errors from Close()

WriteFile should not successfully return if the file's
Close call failed.

Fixes #5644.

R=golang-dev, kr, r
CC=golang-dev
https://golang.org/cl/10067043
src/pkg/io/ioutil/ioutil.go