Skip to content

Commit 5e387b2

Browse files
committed
os: fix 63703.md release notes
63703.md contains a paragraph that shouldn't be there, remove it. While here, fix a test error message related to the #63703 implementation. Updates #63703. Change-Id: I82a8b0b7dfa8f96530fb9a3a3aa971e03970f168 Reviewed-on: https://go-review.googlesource.com/c/go/+/569195 Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Bryan Mills <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 5dcc04a commit 5e387b2

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

doc/next/6-stdlib/99-minor/os/63703.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
On Windows, the [`os.Readlink`](/os#Readlink) function no longer tries
2-
to resolve mount points to a canonical path.
3-
This behavior is controlled by the `winsymlink` setting.
4-
For Go 1.23, it defaults to `winsymlink=1`.
5-
Previous versions default to `winsymlink=0`.
6-
7-
On Windows, [`os.Readlink`](/pkg/path/filepath#EvalSymlinks) no longer tries
1+
On Windows, [`os.Readlink`](/os#Readlink) no longer tries
82
to normalize volumes to drive letters, which was not always even possible.
93
This behavior is controlled by the `winreadlinkvolume` setting.
104
For Go 1.23, it defaults to `winreadlinkvolume=1`.

src/os/os_windows_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func testDirLinks(t *testing.T, tests []dirLinkTest) {
172172
wantType = fs.ModeSymlink
173173
}
174174
if tp := fi2.Mode().Type(); tp != wantType {
175-
t.Errorf("Lstat(%q) is type %v; want %v", link, tp, fs.ModeDir)
175+
t.Errorf("Lstat(%q) is type %v; want %v", link, tp, wantType)
176176
}
177177
}
178178
}

0 commit comments

Comments
 (0)