mirror of
https://github.com/golang/go.git
synced 2025-05-31 23:25:39 +00:00
This CL updates os.Readlink so it no longer tries to normalize volumes to drive letters, which was not always even possible. This behavior is controlled by the `winreadlinkvolume` setting. For Go 1.23, it defaults to `winreadlinkvolume=1`. Previous versions default to `winreadlinkvolume=0`. Fixes #63703. Cq-Include-Trybots: luci.golang.try:gotip-windows-amd64-longtest,gotip-windows-arm64 Change-Id: Icd6fabbc8f0b78e23a82eef8db89940e89e9222d Reviewed-on: https://go-review.googlesource.com/c/go/+/567735 Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
633 B
633 B
On Windows, filepath.EvalSymlinks
no longer evaluates
mount points, which was a source of many inconsistencies and bugs.
This behavior is controlled by the winsymlink
setting.
For Go 1.23, it defaults to winsymlink=1
.
Previous versions default to winsymlink=0
.
On Windows, filepath.EvalSymlinks
no longer tries
to normalize volumes to drive letters, which was not always even possible.
This behavior is controlled by the winreadlinkvolume
setting.
For Go 1.23, it defaults to winreadlinkvolume=1
.
Previous versions default to winreadlinkvolume=0
.