]> Cypherpunks repositories - gostls13.git/commit
cmd/gofmt: set backup file permissions on Windows
authorqmuntal <quimmuntal@gmail.com>
Thu, 30 Mar 2023 08:28:32 +0000 (10:28 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Fri, 31 Mar 2023 22:38:04 +0000 (22:38 +0000)
commit012297a862627e236e4d693476a97ffbbf5e27dc
tree60da7a82bfc1257431eed1e4fbb85d02036ea47d
parent3b956dc2d96e02c7d58a3c1fd00ba466b27315e3
cmd/gofmt: set backup file permissions on Windows

File.Chmod is supported on Windows since CL 250077, there is no need
to skip the call anymore.

Updates #18026

Change-Id: Ie03cf016e651b93241f73067614fc4cb341504ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/480416
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/gofmt/gofmt.go