]> Cypherpunks repositories - gostls13.git/commit
os: omit existence check for GetFinalPathNameByHandle
authorqmuntal <quimmuntal@gmail.com>
Wed, 23 Aug 2023 14:52:37 +0000 (16:52 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Fri, 25 Aug 2023 08:48:18 +0000 (08:48 +0000)
commitdd38ade8d1f2cbe938604fbb34a69533cb128310
tree16a1cc87b3e2c2845da8cebbfe29cfb035d5ddee
parent0a17b2c174dcbe0f30a19be2ca5517ed0660f706
os: omit existence check for GetFinalPathNameByHandle

GetFinalPathNameByHandle exists since Windows Vista, which we no longer
support, so we don't need to prove that it exists before using it.

Updates #57003

Change-Id: Iff2bbe51d3baa3aabcaacf39ea3cbeda0088b9d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/522195
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/internal/syscall/windows/syscall_windows.go
src/os/file_windows.go