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

Issue 5371092: code review 5371092: {syscall,os,time}.go: tentative fixes for port to Plan 9 (Closed)

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

Description

{syscall,os,time}.go: tentative fixes for port to Plan 9 src/pkg/time/sys_plan9.go: remove leftover, unused imports. Others: Corrected various uses of "error" and "Errno".

Patch Set 1 #

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

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

Total comments: 1

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -57 lines) Patch
M src/pkg/os/error_plan9.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/os/file_plan9.go View 1 4 chunks +7 lines, -7 lines 0 comments Download
M src/pkg/os/stat_plan9.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/syscall/exec_plan9.go View 1 6 chunks +8 lines, -8 lines 0 comments Download
M src/pkg/syscall/syscall_plan9.go View 1 2 3 13 chunks +18 lines, -18 lines 0 comments Download
M src/pkg/syscall/zsyscall_plan9_386.go View 1 18 chunks +18 lines, -18 lines 0 comments Download
M src/pkg/time/sys_plan9.go View 1 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12
lucio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, rsc@golang.org), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 4 months ago (2011-11-14 20:47:24 UTC) #1
rsc
looks good except for UnixSignal http://codereview.appspot.com/5371092/diff/1002/src/pkg/os/exec_plan9.go File src/pkg/os/exec_plan9.go (right): http://codereview.appspot.com/5371092/diff/1002/src/pkg/os/exec_plan9.go#newcode13 src/pkg/os/exec_plan9.go:13: type UnixSignal int32 This ...
13 years, 4 months ago (2011-11-14 21:10:35 UTC) #2
lucio
No idea where that came from, I'll sort it out. Lucio. On 11/14/11, rsc@golang.org <rsc@golang.org> ...
13 years, 4 months ago (2011-11-15 03:08:04 UTC) #3
lucio
Is there a reason for: $ hg sync abort: HTTP Error 500: Internal Server Error ...
13 years, 4 months ago (2011-11-15 03:36:08 UTC) #4
bradfitz
Probably, but likely not a good one, and not one that we can find easily. ...
13 years, 4 months ago (2011-11-15 03:38:27 UTC) #5
lucio
Thanks, the problem seems to have been cleared. Lucio. On 11/15/11, Brad Fitzpatrick <bradfitz@golang.org> wrote: ...
13 years, 4 months ago (2011-11-15 03:49:55 UTC) #6
lucio
Hello rsc@golang.org, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 4 months ago (2011-11-15 04:30:28 UTC) #7
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=05e3714c033a *** syscall, os, time: fix Plan 9 build R=rsc, bradfitz CC=golang-dev ...
13 years, 4 months ago (2011-11-16 22:37:56 UTC) #8
lucio
I still have UnixSignal lurking in my CodeReview folder, any idea where it belongs? I ...
13 years, 4 months ago (2011-11-18 04:26:17 UTC) #9
rsc
On Thu, Nov 17, 2011 at 23:26, Lucio De Re <lucio.dere@gmail.com> wrote: > I still ...
13 years, 4 months ago (2011-11-18 23:34:40 UTC) #10
lucio
Found it: os.UnixSignal() is invoked in pkg/os/signal/signal.go. It ought to be part of someone else's ...
13 years, 3 months ago (2011-11-19 13:52:57 UTC) #11
rsc
13 years, 3 months ago (2011-11-21 14:52:37 UTC) #12
On Sat, Nov 19, 2011 at 08:52, Lucio De Re <lucio.dere@gmail.com> wrote:
> Found it: os.UnixSignal() is invoked in pkg/os/signal/signal.go.  It
> ought to be part of someone else's outstanding CL, will the culprit
> please stand up?

You should not bother trying to compile os/signal on Plan 9 right now.
The implementation there is Unix-specific and would need to be
rewritten for Plan 9.  The use of UnixSignal is just the tip of the
iceberg.

Russ
Sign in to reply to this message.

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