mirror of https://github.com/golang/go.git
As of Go 1.14, WriteFile on Windows will set read-only on existing files if you pass 0 for perms. Pass the pre-existing permissions. Updates golang/go#38225. Change-Id: I3174469efd4dc4c7eacc8522386a0712cfa39d11 Reviewed-on: https://go-review.googlesource.com/c/tools/+/229297 Reviewed-by: Ian Cottrell <iancottrell@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| doc.go | ||
| goimports.go | ||
| goimports_gc.go | ||
| goimports_not_gc.go | ||