]> Cypherpunks repositories - gostls13.git/commit
runtime: load errno as signed 32-bit
authorKeith Randall <khr@golang.org>
Wed, 15 Aug 2018 23:21:00 +0000 (16:21 -0700)
committerKeith Randall <khr@golang.org>
Thu, 16 Aug 2018 15:51:23 +0000 (15:51 +0000)
commita68b713ef600a14e15b59f5bac424be73e1acaf5
treedd35935213e4f6213e4e9ceb94b17c569a070296
parent6502c112863bda754ca3a52ead739f7d6c259117
runtime: load errno as signed 32-bit

the function libc_errno returns a pointer to a signed-32 bit quantity,
not a 64-bit quantity.

Fixes #27004

Change-Id: I0623835ee34fd9655532251f096022a5accb58cd
Reviewed-on: https://go-review.googlesource.com/129475
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/sys_darwin_amd64.s
src/runtime/sys_darwin_arm64.s