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

Issue 5593046: code review 5593046: net: replace error variable name e, errno with err (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by mikio
Modified:
13 years, 1 month ago
Reviewers:
CC:
rsc, r, golang-dev
Visibility:
Public.

Description

net: replace error variable name e, errno with err

Patch Set 1 : diff -r f36b37b08176 https://go.googlecode.com/hg/ #

Total comments: 9

Patch Set 2 : diff -r b7e029136522 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 3 : diff -r 05b67fff4f9c https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -282 lines) Patch
M src/pkg/net/fd.go View 1 6 chunks +17 lines, -16 lines 0 comments Download
M src/pkg/net/fd_darwin.go View 1 2 chunks +6 lines, -6 lines 0 comments Download
M src/pkg/net/fd_freebsd.go View 1 2 chunks +10 lines, -10 lines 0 comments Download
M src/pkg/net/fd_linux.go View 1 4 chunks +15 lines, -17 lines 0 comments Download
M src/pkg/net/fd_netbsd.go View 1 2 chunks +10 lines, -10 lines 0 comments Download
M src/pkg/net/fd_openbsd.go View 1 2 chunks +10 lines, -10 lines 0 comments Download
M src/pkg/net/fd_windows.go View 1 18 chunks +39 lines, -39 lines 0 comments Download
M src/pkg/net/file.go View 1 2 chunks +11 lines, -10 lines 0 comments Download
M src/pkg/net/interface_darwin.go View 1 3 chunks +11 lines, -20 lines 0 comments Download
M src/pkg/net/interface_freebsd.go View 1 3 chunks +11 lines, -20 lines 0 comments Download
M src/pkg/net/interface_linux.go View 1 8 chunks +6 lines, -18 lines 0 comments Download
M src/pkg/net/interface_windows.go View 3 chunks +20 lines, -20 lines 0 comments Download
M src/pkg/net/ipsock.go View 1 2 chunks +9 lines, -18 lines 0 comments Download
M src/pkg/net/ipsock_plan9.go View 1 2 1 chunk +5 lines, -16 lines 0 comments Download
M src/pkg/net/lookup_windows.go View 3 chunks +9 lines, -9 lines 0 comments Download
M src/pkg/net/multicast_test.go View 1 3 chunks +2 lines, -4 lines 0 comments Download
M src/pkg/net/net_test.go View 2 chunks +9 lines, -9 lines 0 comments Download
M src/pkg/net/sendfile_linux.go View 1 chunk +5 lines, -5 lines 0 comments Download
M src/pkg/net/sockopt.go View 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/net/tcpsock_posix.go View 3 chunks +6 lines, -6 lines 0 comments Download
M src/pkg/net/udpsock_posix.go View 2 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/net/unixsock_posix.go View 4 chunks +13 lines, -13 lines 0 comments Download

Messages

Total messages: 7
mikio
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 1 month ago (2012-01-29 13:04:07 UTC) #1
r
i'm less sure about this one. local consistency is broken in a number of these ...
13 years, 1 month ago (2012-01-29 16:08:20 UTC) #2
rsc
Thanks. This looks reasonable. If a function returns more than one non-error result, especially if ...
13 years, 1 month ago (2012-01-29 17:44:45 UTC) #3
mikio
Thank you fot the review. > and why netfd->nfd? just pick it from f, fd, ...
13 years, 1 month ago (2012-01-31 14:01:37 UTC) #4
mikio
Hello rsc@golang.org, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-01-31 14:02:00 UTC) #5
rsc
LGTM http://codereview.appspot.com/5593046/diff/13002/src/pkg/net/ipsock_plan9.go File src/pkg/net/ipsock_plan9.go (right): http://codereview.appspot.com/5593046/diff/13002/src/pkg/net/ipsock_plan9.go#newcode26 src/pkg/net/ipsock_plan9.go:26: addr = IPv4zero // address contains port only ...
13 years, 1 month ago (2012-01-31 15:32:03 UTC) #6
mikio
13 years, 1 month ago (2012-01-31 15:36:50 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=546d24e10463 ***

net: replace error variable name e, errno with err

R=rsc, r
CC=golang-dev
http://codereview.appspot.com/5593046
Sign in to reply to this message.

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