]> Cypherpunks repositories - gostls13.git/commit
internal/syscall/unix: use fcntl64 on 32-bit GNU/Linux systems
authorIan Lance Taylor <iant@golang.org>
Fri, 20 Dec 2019 21:05:24 +0000 (13:05 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 23 Dec 2019 23:29:48 +0000 (23:29 +0000)
commit372efbbf3170ccf260186118cd3acf7f617055ae
tree0f4c25ac5472f31ea2c41d6715e74d1cbbd58ed2
parent26f8b7074b314f45c2ccaab9dcc0f5730fe8bb68
internal/syscall/unix: use fcntl64 on 32-bit GNU/Linux systems

Patch up runtime testing to use the libc fcntl function on Darwin,
which is what we should be doing anyhow. This is similar to how
we handle fcntl on AIX and Solaris.

Fixes #36211

Change-Id: I47ad87e11df043ce21496a0d59523dad28960f76
Reviewed-on: https://go-review.googlesource.com/c/go/+/212299
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
src/internal/syscall/unix/fcntl_linux_32bit.go [new file with mode: 0644]
src/internal/syscall/unix/nonblocking.go
src/runtime/export_darwin_test.go [new file with mode: 0644]
src/runtime/nbpipe_fcntl_libc_test.go
src/runtime/nbpipe_fcntl_unix_test.go
src/syscall/flock_linux_32bit.go