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

Issue 5411046: code review 5411046: pkg/syscall: Adjustments for "errors" package, focussed... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by lucio
Modified:
13 years, 3 months ago
Reviewers:
CC:
rsc, ality, golang-dev
Visibility:
Public.

Description

pkg/syscall: Adjustments for "errors" package, focussed on Plan 9 exec_plan9.go: . Adjusted return argument to match other changes. #mksyscall.pl: . Replaced "err = e1" with "err = NewError(e1)". * Change abandoned, Russ made a better suggestion involving syscall_plan9.go. syscall_plan9.go: . Removed redundant "err = nil" lines. . Adjusted //sys lines for mksyscall.pl. * Replaced "err string" with "err ErrorString" in return arguments. zsyscall_plan9_386.go: . This module ought to be generated, but as it exists in the repository, I rebuilt it and checked that it matched expectations. Anybody is welcome to remove this from the repository if they feel it should go, but remember that not all Plan 9 installations have a working Perl.

Patch Set 1 #

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

Patch Set 3 : diff -r 4ed397e2cef1 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 4 : diff -r fe7ee6bb723f https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r fe7ee6bb723f https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -68 lines) Patch
M src/pkg/syscall/exec_plan9.go View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/syscall/syscall_plan9.go View 1 2 3 4 6 chunks +18 lines, -21 lines 0 comments Download
M src/pkg/syscall/zsyscall_plan9_386.go View 1 2 3 17 chunks +17 lines, -45 lines 0 comments Download

Messages

Total messages: 9
lucio
Hello golang-dev@googlegroups.com (cc: ality@pbrane.org, golang-dev@googlegroups.com, rsc@golang.org), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 3 months ago (2011-11-19 04:19:27 UTC) #1
lucio
The CL comment was confusing. Lucio. On 11/19/11, lucio.dere@gmail.com <lucio.dere@gmail.com> wrote: > Reviewers: golang-dev_googlegroups.com, > ...
13 years, 3 months ago (2011-11-19 04:20:29 UTC) #2
rsc
very close, thanks http://codereview.appspot.com/5411046/diff/3001/src/pkg/syscall/syscall_plan9.go File src/pkg/syscall/syscall_plan9.go (right): http://codereview.appspot.com/5411046/diff/3001/src/pkg/syscall/syscall_plan9.go#newcode41 src/pkg/syscall/syscall_plan9.go:41: func Syscall(trap, a1, a2, a3 uintptr) ...
13 years, 3 months ago (2011-11-19 04:22:04 UTC) #3
lucio
The second pair, Raw* use uintptr rather than error. Can these still be changed without ...
13 years, 3 months ago (2011-11-19 05:09:47 UTC) #4
rsc
On Sat, Nov 19, 2011 at 00:09, Lucio De Re <lucio.dere@gmail.com> wrote: > The second ...
13 years, 3 months ago (2011-11-19 05:41:57 UTC) #5
lucio
Hello rsc@golang.org (cc: ality@pbrane.org, golang-dev@googlegroups.com), Please take another look.
13 years, 3 months ago (2011-11-19 11:43:56 UTC) #6
lucio
Hello rsc@golang.org (cc: ality@pbrane.org, golang-dev@googlegroups.com), Please take another look.
13 years, 3 months ago (2011-11-19 15:21:18 UTC) #7
rsc
LGTM
13 years, 3 months ago (2011-11-21 14:54:59 UTC) #8
rsc
13 years, 3 months ago (2011-11-21 14:55:18 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=dd27c5377672 ***

syscall: fix for Plan 9 build

exec_plan9.go:
. Adjusted return argument to match other changes.
#mksyscall.pl:
. Replaced "err = e1" with "err = NewError(e1)".
* Change abandoned, Russ made a better suggestion involving
  syscall_plan9.go.
syscall_plan9.go:
. Removed redundant "err = nil" lines.
. Adjusted //sys lines for mksyscall.pl.
* Replaced "err string" with "err ErrorString" in return arguments.
zsyscall_plan9_386.go:
. This module ought to be generated, but as it exists in the
  repository, I rebuilt it and checked that it matched expectations.
  Anybody is welcome to remove this from the repository if
  they feel it should go, but remember that not all Plan 9
  installations have a working Perl.

R=rsc
CC=ality, golang-dev
http://codereview.appspot.com/5411046

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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