mirror of
https://github.com/golang/go
synced 2024-11-20 10:04:45 -07:00
7478ea5dba
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_test.go | ||
encodedword.go | ||
example_test.go | ||
grammar.go | ||
mediatype_test.go | ||
mediatype.go | ||
type_dragonfly.go | ||
type_freebsd.go | ||
type_openbsd.go | ||
type_plan9.go | ||
type_test.go | ||
type_unix.go | ||
type_windows.go | ||
type.go |