FAQ

Search Discussions

  • R at Oct 1, 2012 at 12:09 am
    *** Submitted as
    http://code.google.com/p/go/source/detail?r=03190651924e ***

    pkg/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'.

    R=rsc, r
    CC=golang-dev
    http://codereview.appspot.com/6590047

    Committer: Rob Pike <r@golang.org>


    http://codereview.appspot.com/6590047/

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 1, '12 at 12:06a
activeOct 1, '12 at 12:09a
posts2
users1
websitegolang.org

1 user in discussion

R: 2 posts

People

Translate

site design / logo © 2022 Grokbase