]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.20] runtime: consistently define fcntl
authorIan Lance Taylor <iant@golang.org>
Mon, 15 May 2023 23:34:36 +0000 (16:34 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 22 May 2023 21:48:37 +0000 (21:48 +0000)
commit22741120ee6df48b0609f68c75cb7dd8bcf04c07
treef201bbc0e93744159d165be5f74e78cb7cf782ea
parent9270e3be8fe709983cac9536eb34adf1cd17c4a8
[release-branch.go1.20] runtime: consistently define fcntl

Clean up and consolidate on a single consistent definition of fcntl,
which takes three int32 arguments and returns either a positive result
or a negative errno value.

Change-Id: Id9505492712db4b0aab469c6bd15e4fce3c9ff6e
Reviewed-on: https://go-review.googlesource.com/c/go/+/495075
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/497115
Run-TryBot: Roland Shoemaker <roland@golang.org>
Auto-Submit: Heschi Kreinick <heschi@google.com>
34 files changed:
src/runtime/export_aix_test.go
src/runtime/export_darwin_test.go
src/runtime/export_openbsd_test.go [deleted file]
src/runtime/export_solaris_test.go [deleted file]
src/runtime/export_unix_test.go
src/runtime/nbpipe_fcntl_libc_test.go [deleted file]
src/runtime/nbpipe_fcntl_unix_test.go [deleted file]
src/runtime/nbpipe_test.go
src/runtime/netpoll_solaris.go
src/runtime/os3_solaris.go
src/runtime/os_aix.go
src/runtime/os_dragonfly.go
src/runtime/os_freebsd.go
src/runtime/os_linux.go
src/runtime/os_netbsd.go
src/runtime/os_openbsd_syscall2.go
src/runtime/os_solaris.go
src/runtime/sys_darwin_amd64.s
src/runtime/sys_darwin_arm64.s
src/runtime/sys_dragonfly_amd64.s
src/runtime/sys_freebsd_386.s
src/runtime/sys_freebsd_amd64.s
src/runtime/sys_freebsd_arm.s
src/runtime/sys_freebsd_arm64.s
src/runtime/sys_freebsd_riscv64.s
src/runtime/sys_netbsd_386.s
src/runtime/sys_netbsd_amd64.s
src/runtime/sys_netbsd_arm.s
src/runtime/sys_netbsd_arm64.s
src/runtime/sys_openbsd_386.s
src/runtime/sys_openbsd_amd64.s
src/runtime/sys_openbsd_arm.s
src/runtime/sys_openbsd_arm64.s
src/runtime/sys_openbsd_mips64.s