]> Cypherpunks repositories - gostls13.git/commit
os: fix hex exit code print on 32-bit windows
authorRuss Cox <rsc@golang.org>
Fri, 19 Feb 2021 10:29:51 +0000 (05:29 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 19 Feb 2021 15:30:59 +0000 (15:30 +0000)
commit01eb70e3dd4d7bf00ee915841e6b3c56fc94fe44
tree318e60241c7391d425bda7accab22e228c3cddd7
parent49add6ad90c3c6e150266b35ae98067d7b52c021
os: fix hex exit code print on 32-bit windows

We want to print hex exit codes for the large values,
but on 32-bit Windows the large values are negative.

Change-Id: I0e350b128414a9468c93eddc62d660f552c1ee05
Reviewed-on: https://go-review.googlesource.com/c/go/+/294070
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/os/exec_posix.go