mirror of https://github.com/golang/go.git
Always close the file regardless of whether the copy succeeds or fails. Pass along the close error if the copy succeeds Fixes #16296 Change-Id: Ib394655b91d25750f029f17b3846d985f673fb50 Reviewed-on: https://go-review.googlesource.com/30410 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| multipart | ||
| quotedprintable | ||
| testdata | ||
| encodedword.go | ||
| encodedword_test.go | ||
| example_test.go | ||
| grammar.go | ||
| mediatype.go | ||
| mediatype_test.go | ||
| type.go | ||
| type_dragonfly.go | ||
| type_freebsd.go | ||
| type_openbsd.go | ||
| type_plan9.go | ||
| type_test.go | ||
| type_unix.go | ||
| type_windows.go | ||