]> Cypherpunks repositories - gostls13.git/commitdiff
internal/syscall/windows: run go generate
authorqmuntal <quimmuntal@gmail.com>
Thu, 27 Mar 2025 09:39:40 +0000 (10:39 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Thu, 27 Mar 2025 15:58:05 +0000 (08:58 -0700)
CL 660595 manually edited zsyscall_windows.go, making it be out of sync
with its associated //sys directive. Longtest builders are failing
due to that.

Fixes #73069.

Change-Id: If7256ef4b831423e4925fb6e5656fe3f7ef77fea
Reviewed-on: https://go-review.googlesource.com/c/go/+/661275
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/internal/syscall/windows/zsyscall_windows.go

index d2d40440e38de35f45e2bcea529e02cebdbfe776..4f2fdb45808e62dd05196542611f036cce5774b6 100644 (file)
@@ -268,7 +268,7 @@ func CreateEvent(eventAttrs *SecurityAttributes, manualReset uint32, initialStat
        return
 }
 
-func CreateNamedPipe(name *uint16, flags uint32, pipeMode uint32, maxInstances uint32, outSize uint32, inSize uint32, defaultTimeout uint32, sa *SecurityAttributes) (handle syscall.Handle, err error) {
+func CreateNamedPipe(name *uint16, flags uint32, pipeMode uint32, maxInstances uint32, outSize uint32, inSize uint32, defaultTimeout uint32, sa *syscall.SecurityAttributes) (handle syscall.Handle, err error) {
        r0, _, e1 := syscall.Syscall9(procCreateNamedPipeW.Addr(), 8, uintptr(unsafe.Pointer(name)), uintptr(flags), uintptr(pipeMode), uintptr(maxInstances), uintptr(outSize), uintptr(inSize), uintptr(defaultTimeout), uintptr(unsafe.Pointer(sa)), 0)
        handle = syscall.Handle(r0)
        if handle == syscall.InvalidHandle {