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

Delta Between Two Patch Sets: src/pkg/net/unixsock_posix.go

Issue 5011046: code review 5011046: build: add build comments to core packages (Closed)
Left Patch Set: Created 12 years, 6 months ago
Right Patch Set: diff -r a12d99eb48bb https://go.googlecode.com/hg Created 12 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/net/udpsock_posix.go ('k') | src/pkg/os/dir_unix.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 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
5 // +build darwin freebsd linux openbsd windows
4 6
5 // Unix domain sockets 7 // Unix domain sockets
6 8
7 package net 9 package net
8 10
9 import ( 11 import (
10 "os" 12 "os"
11 "syscall" 13 "syscall"
12 ) 14 )
13 15
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 } 411 }
410 if laddr == nil { 412 if laddr == nil {
411 return nil, &OpError{"listen", "unixgram", nil, errMissingAddres s} 413 return nil, &OpError{"listen", "unixgram", nil, errMissingAddres s}
412 } 414 }
413 fd, e := unixSocket(net, laddr, nil, "listen") 415 fd, e := unixSocket(net, laddr, nil, "listen")
414 if e != nil { 416 if e != nil {
415 return nil, e 417 return nil, e
416 } 418 }
417 return newUDPConn(fd), nil 419 return newUDPConn(fd), nil
418 } 420 }
LEFTRIGHT

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