Skip to content
Snippets Groups Projects
  • Russ Cox's avatar
    3d5ddffa
    syscall: prepare for 64-bit ints · 3d5ddffa
    Russ Cox authored
    This CL fixes code that incorrectly assumes that int is 32 bits wide.
    Specifically, the socketpair system call expects a pointer to a pair
    of int32s, not a pair of ints. Fix this inside the wrappers without
    changing the APIs.
    
    Update #2188.
    
    R=golang-dev, r
    CC=golang-dev
    https://golang.org/cl/6552063
    3d5ddffa
    History
    syscall: prepare for 64-bit ints
    Russ Cox authored
    This CL fixes code that incorrectly assumes that int is 32 bits wide.
    Specifically, the socketpair system call expects a pointer to a pair
    of int32s, not a pair of ints. Fix this inside the wrappers without
    changing the APIs.
    
    Update #2188.
    
    R=golang-dev, r
    CC=golang-dev
    https://golang.org/cl/6552063
Code owners
Assign users and groups as approvers for specific file changes. Learn more.