Side by Side Diff: src/pkg/net/newpollserver_unix.go
Issue 6489056 :
code review 6489056: net: rename files to clarify platform dependency (Closed)
Patch Set: diff -r 26b1cb07dc52 https://code.google.com/p/go
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
src/pkg/net/dnsconfig_unix.go
src/pkg/net/fd_unix.go
src/pkg/net/file_unix.go
src/pkg/net/lookup.go
src/pkg/net/multicast_posix_test.go
src/pkg/net/newpollserver_unix.go
src/pkg/net/sock_posix.go
src/pkg/net/sockopt_posix.go
src/pkg/net/sockoptip_posix.go
src/pkg/net/unicast_posix_test.go
OLD NEW
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // +build darwin freebsd linux netbsd openbsd 5 // +build darwin freebsd linux netbsd openbsd
6 6
7 package net 7 package net
8 8
9 import ( 9 import (
10 "os" 10 "os"
(...skipping 26 matching lines...) Expand all Loading...
37 err = &os.PathError{ 37 err = &os.PathError{
38 Op: "setnonblock", 38 Op: "setnonblock",
39 Path: s.pr.Name(), 39 Path: s.pr.Name(),
40 Err: err, 40 Err: err,
41 } 41 }
42 Error: 42 Error:
43 s.pr.Close() 43 s.pr.Close()
44 s.pw.Close() 44 s.pw.Close()
45 return nil, err 45 return nil, err
46 } 46 }
OLD NEW