]> Cypherpunks repositories - gostls13.git/commit
os: unify supportsCloseOnExec definition
authorTobias Klauser <tklauser@distanz.ch>
Mon, 26 Feb 2018 13:06:01 +0000 (14:06 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 26 Feb 2018 17:10:24 +0000 (17:10 +0000)
commitad9814de612bbee6c7657ac3e27bcba9b853335e
tree2d3f92845292080007815972f3fe8d3727771481
parent9cae3aaf47de8c79c31ef53c1ed4e2db46214aea
os: unify supportsCloseOnExec definition

On Darwin and FreeBSD, supportsCloseOnExec is defined in its own file,
even though it is set to true as on other Unices. Drop the separate
definitions but keep the accompanying comments.

Change-Id: Iab1d20e1b2590800f141d54b55a099c9cd7ae57e
Reviewed-on: https://go-review.googlesource.com/97155
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/sys_darwin.go [deleted file]
src/os/sys_freebsd.go [deleted file]
src/os/sys_unix.go