]> Cypherpunks repositories - gostls13.git/commit
internal/syscall/unix: don't use linkname to refer to syscall.fcntl
authorTobias Klauser <tklauser@distanz.ch>
Wed, 22 Aug 2018 12:01:52 +0000 (14:01 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 24 Aug 2018 07:28:54 +0000 (07:28 +0000)
commitd8cf1514cadb512de6972e760ccef76452e3a67c
treefa79dccf6c59ab23ffa6f140dd9dc36cbdc2bed2
parent9cfa41c826ba358dc6f911f72dfbfda8c13d27fe
internal/syscall/unix: don't use linkname to refer to syscall.fcntl

Just open-code the fcntl syscall instead of relying on the obscurity of
go:linkname.

Change-Id: I3e4ec9db6539e016f56667d7b8b87aa37671d0e7
Reviewed-on: https://go-review.googlesource.com/130736
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/internal/syscall/unix/nonblocking.go