]> Cypherpunks repositories - gostls13.git/commit
runtime: make fcntl arguments consistent across OS's
authorIan Lance Taylor <iant@golang.org>
Tue, 29 Oct 2019 17:18:25 +0000 (10:18 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 30 Oct 2019 00:41:31 +0000 (00:41 +0000)
commit47efbf0a4ec3e502b36dd0904c99d10775612228
tree6b32fb337b3dd38c8f0b689ed77d4e0bc6d7b4ab
parent15ea61c50ca25295497e78354f7f8397e73e3590
runtime: make fcntl arguments consistent across OS's

The C fnctl takes all int parameters, so consistently use int32.
We already used int32 on Darwin.

Change-Id: I69a012145d012771d7308d705d133159fc1aceaa
Reviewed-on: https://go-review.googlesource.com/c/go/+/204101
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/netpoll_solaris.go
src/runtime/os_aix.go