Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(647)

Unified Diff: src/pkg/net/unix_test.go

Issue 69910043: code review 69910043: syscall: make address of unnamed Unix sockets empty on ...
Patch Set: diff -r f62cd90ce0d8 https://go.googlecode.com/hg/ Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pkg/syscall/route_bsd.go » ('j') | src/pkg/syscall/syscall_linux.go » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/net/unix_test.go
===================================================================
--- a/src/pkg/net/unix_test.go
+++ b/src/pkg/net/unix_test.go
@@ -189,9 +189,6 @@
t.Fatalf("UnixConn.Write failed: %v", err)
}
- if runtime.GOOS == "linux" && laddr == "" {
- laddr = "@" // autobind feature
- }
var connAddrs = [3]struct{ got, want Addr }{
{ln.Addr(), ta},
{c.LocalAddr(), &UnixAddr{Name: laddr, Net: "unix"}},
@@ -241,9 +238,6 @@
}
}()
- if runtime.GOOS == "linux" && laddr == "" {
- laddr = "@" // autobind feature
- }
var connAddrs = [4]struct{ got, want Addr }{
{c1.LocalAddr(), ta},
{c1.RemoteAddr(), nil},
« no previous file with comments | « no previous file | src/pkg/syscall/route_bsd.go » ('j') | src/pkg/syscall/syscall_linux.go » ('J')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b