Reviewers: rsc, rminnich, npe1,
Message:
Hello rsc@golang.org, rminnich@gmail.com, npe@plan9.bell-labs.com (cc:
golang-dev@googlegroups.com),
I'd like you to review this change to
https://go.googlecode.com/hg/
Description:
pkg/syscall: Plan 9, 64-bit: Update error checks from sys calls.
The system calls return 32-bit integers. With the recent change
in size of `int' in Go for amd64, the type conversion was not
catching `-1' return values. This change makes the conversion
explicitly `int32'.
Please review this at http://codereview.appspot.com/6576057/
Affected files:
M src/pkg/syscall/mksyscall.pl
M src/pkg/syscall/zsyscall_plan9_amd64.go