]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: close outfile before cleanup
authorJonathan Rudenberg <jonathan@titanous.com>
Mon, 29 Sep 2014 19:13:22 +0000 (12:13 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 29 Sep 2014 19:13:22 +0000 (12:13 -0700)
commite7e3b3ec1037669c90851670e2dc608b80d499d6
tree94bd1c0e20099f4a54c32f4237c335d917f494a3
parente1364a6d0ecd5ba50845f416bb3c016bc54a3648
cmd/ld: close outfile before cleanup

This prevents the temporary directory from being leaked when
the linker is run on a FUSE filesystem.

Fixes #8684.

LGTM=bradfitz
R=golang-codereviews, rsc, bradfitz
CC=golang-codereviews
https://golang.org/cl/141840043
src/cmd/ld/lib.c