]> Cypherpunks repositories - gostls13.git/commit
cmd/go: always copy files on Windows
authorIan Lance Taylor <iant@golang.org>
Tue, 24 Oct 2017 14:22:26 +0000 (07:22 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 18 Nov 2017 06:31:57 +0000 (06:31 +0000)
commitda360f30e90fe1a2766f8748b65c17fbffa25392
treee8c266ae856967dc28a10efe2c3ad38353d1609f
parent262141a12a6ef0d914fe7aff8b3bde45ea59abb0
cmd/go: always copy files on Windows

Copying ensures that we respect the NTFS permissions of the parent folder.
I don't know if there is a way to tell when it is safe to simply rename.

Fixes #22343

Change-Id: I424bfe655b53b0e0fe425ce92bbc15450d52d851
Reviewed-on: https://go-review.googlesource.com/72910
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/cmd/go/internal/work/exec.go