r229880 - in /trunk: gcc/go/gofrontend/MERGE li...

ian@gcc.gnu.org ian@gcc.gnu.org
Fri Nov 6 19:15:00 GMT 2015


Author: ian
Date: Fri Nov  6 19:15:45 2015
New Revision: 229880

URL: https://gcc.gnu.org/viewcvs?rev=229880&root=gcc&view=rev
Log:
    libgo: Solaris portability fixes.
    
    Only build net/hook_cloexec.go on GNU/Linux and FreeBSD, because those
    are the only systems with accept4.
    
    Add syscall/libcall_bsd.go to define sendfile for *BSD and Solaris.
    
    Revert tcpsockopt_solaris.go back to the earlier version, so that it
    works on Solaris 10.
    
    Always pass the address of a Pid_t value to TIOCGPGRP and TIOCSPGRP.
    
    Include <unistd.h> in runtime/go-varargs.c.
    
    Reviewed-on: https://go-review.googlesource.com/16719

Added:
    trunk/libgo/go/syscall/libcall_bsd.go
Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/Makefile.am
    trunk/libgo/Makefile.in
    trunk/libgo/go/net/tcpsockopt_solaris.go
    trunk/libgo/go/syscall/exec_bsd.go
    trunk/libgo/go/syscall/exec_linux.go
    trunk/libgo/go/syscall/exec_unix.go
    trunk/libgo/go/syscall/exec_unix_test.go
    trunk/libgo/runtime/go-varargs.c



More information about the Gcc-cvs mailing list