aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-05-09 15:33:22 -0700
committerIan Lance Taylor <iant@golang.org>2022-05-10 21:29:25 +0000
commitd28616d4697bf8ec02e8afed39013721e4567f9a (patch)
tree7058e51b0ef22f4c865782161fc3c2f35d209154 /src
parente0f99775f24cd19ad96847b0a5b00952aac9d548 (diff)
downloadgo-d28616d4697bf8ec02e8afed39013721e4567f9a.tar.xz
syscall: update broken links
Remove one link which isn't very interesting, and update another to point to the current location. Fixes #52753 Change-Id: I5f53ede35b0ded197bc0e6d41eabf28d736de5b8 Reviewed-on: https://go-review.googlesource.com/c/go/+/405296 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hajime Hoshi <hajimehoshi@gmail.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/syscall/syscall_windows.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/syscall/syscall_windows.go b/src/syscall/syscall_windows.go
index adc865fd5f..ebaf84343d 100644
--- a/src/syscall/syscall_windows.go
+++ b/src/syscall/syscall_windows.go
@@ -448,12 +448,11 @@ func setFilePointerEx(handle Handle, distToMove int64, newFilePointer *int64, wh
default:
panic("unsupported 32-bit architecture")
case "386":
- // distToMove is a LARGE_INTEGER:
- // https://msdn.microsoft.com/en-us/library/windows/desktop/aa383713(v=vs.85).aspx
+ // distToMove is a LARGE_INTEGER, which is 64 bits.
_, _, e1 = Syscall6(procSetFilePointerEx.Addr(), 5, uintptr(handle), uintptr(distToMove), uintptr(distToMove>>32), uintptr(unsafe.Pointer(newFilePointer)), uintptr(whence), 0)
case "arm":
// distToMove must be 8-byte aligned per ARM calling convention
- // https://msdn.microsoft.com/en-us/library/dn736986.aspx#Anchor_7
+ // https://docs.microsoft.com/en-us/cpp/build/overview-of-arm-abi-conventions#stage-c-assignment-of-arguments-to-registers-and-stack
_, _, e1 = Syscall6(procSetFilePointerEx.Addr(), 6, uintptr(handle), 0, uintptr(distToMove), uintptr(distToMove>>32), uintptr(unsafe.Pointer(newFilePointer)), uintptr(whence))
}
}