Skip to content

Commit 81c6e47

Browse files
committed
os: fixed typo in Windows version number
1 parent a4b78cf commit 81c6e47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/internal/syscall/windows/symlink_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ import "syscall"
99
const (
1010
ERROR_INVALID_PARAMETER syscall.Errno = 87
1111

12-
// symlink support for CreateSymbolicLink() starting with Windows 10 (1607, v10.0.14393)
12+
// symlink support for CreateSymbolicLink() starting with Windows 10 (1703, v10.0.14972)
1313
SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE = 0x2
1414
)

src/os/file_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ func Symlink(oldname, newname string) error {
379379

380380
if err == windows.ERROR_INVALID_PARAMETER {
381381
// the unprivileged create flag is unsupported
382-
// below Windows 10 (1607, v10.0.14393). retry without it.
382+
// below Windows 10 (1703, v10.0.14972). retry without it.
383383
flags &^= windows.SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
384384

385385
err = syscall.CreateSymbolicLink(n, o, flags)

0 commit comments

Comments
 (0)