Descriptionpkg/syscall: Plan 9, 64-bit: Update error checks from sys calls.
This change updates CL 6576057 for exceptional cases where
return values from Syscall/RawSyscall functions are used.
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'.
Patch Set 1 #Patch Set 2 : diff -r f4a92d7eeb8d https://go.googlecode.com/hg/ #Patch Set 3 : diff -r f4a92d7eeb8d https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|