libgo: Update Go library to master revision 15489/921e53d4863c.
From-SVN: r195560
This commit is contained in:
parent
91bfca5909
commit
d6f2922e91
290 changed files with 61242 additions and 49576 deletions
|
@ -20,6 +20,10 @@ func newFileFD(f *os.File) (*netFD, error) {
|
|||
}
|
||||
syscall.CloseOnExec(fd)
|
||||
syscall.ForkLock.RUnlock()
|
||||
if err = syscall.SetNonblock(fd, true); err != nil {
|
||||
closesocket(fd)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
sotype, err := syscall.GetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SO_TYPE)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue