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

Issue 6015046: code review 6015046: syscall: remove the Signal type on Plan 9 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by ality
Modified:
12 years, 10 months ago
Reviewers:
CC:
bradfitz, akumar, rsc, golang-dev
Visibility:
Public.

Description

syscall: remove the Signal type on Plan 9 Instead use a new type, "Note", whose underlying type is just a string. This change allows us to remove the exported os.Plan9Note type.

Patch Set 1 #

Patch Set 2 : diff -r 14c38c23c819 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 14c38c23c819 https://code.google.com/p/go/ #

Total comments: 5

Patch Set 4 : diff -r 4a18b0e071b1 https://code.google.com/p/go/ #

Total comments: 2

Patch Set 5 : diff -r 850cadc5bc9f https://code.google.com/p/go/ #

Total comments: 1

Patch Set 6 : diff -r d65c6e0efbb3 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -35 lines) Patch
M src/pkg/os/exec.go View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M src/pkg/os/exec_plan9.go View 1 2 3 4 2 chunks +24 lines, -16 lines 0 comments Download
M src/pkg/os/exec_posix.go View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/pkg/syscall/syscall_plan9.go View 1 2 3 4 5 2 chunks +10 lines, -8 lines 0 comments Download
M src/pkg/syscall/zerrors_plan9_386.go View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 11
ality
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 11 months ago (2012-04-12 13:32:45 UTC) #1
bradfitz
godoc won't look good with this (the docs on the vars will be sorted away ...
12 years, 11 months ago (2012-04-12 14:17:47 UTC) #2
ality
Brad Fitzpatrick <bradfitz@golang.org> once said: > godoc won't look good with this (the docs on ...
12 years, 11 months ago (2012-04-17 01:10:38 UTC) #3
akumar
http://codereview.appspot.com/6015046/diff/1002/src/pkg/os/exec_plan9.go File src/pkg/os/exec_plan9.go (right): http://codereview.appspot.com/6015046/diff/1002/src/pkg/os/exec_plan9.go#newcode38 src/pkg/os/exec_plan9.go:38: func (p *Process) writeProcFile(file string, data string) error { ...
12 years, 11 months ago (2012-04-17 07:25:25 UTC) #4
rsc
http://codereview.appspot.com/6015046/diff/1002/src/pkg/os/exec.go File src/pkg/os/exec.go (right): http://codereview.appspot.com/6015046/diff/1002/src/pkg/os/exec.go#newcode52 src/pkg/os/exec.go:52: // Please move this comment back to the var ...
12 years, 10 months ago (2012-04-25 02:55:52 UTC) #5
ality
Hello bradfitz@golang.org, seed@mail.nanosouffle.net, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2012-04-26 10:05:43 UTC) #6
akumar
https://codereview.appspot.com/6015046/diff/11001/src/pkg/os/exec_plan9.go File src/pkg/os/exec_plan9.go (right): https://codereview.appspot.com/6015046/diff/11001/src/pkg/os/exec_plan9.go#newcode42 src/pkg/os/exec_plan9.go:42: f, e := OpenFile("/proc/"+itoa(p.Pid)+"/ctl", O_WRONLY, 0) f, e := ...
12 years, 10 months ago (2012-04-26 22:35:38 UTC) #7
ality
PTAL https://codereview.appspot.com/6015046/diff/11001/src/pkg/os/exec_plan9.go File src/pkg/os/exec_plan9.go (right): https://codereview.appspot.com/6015046/diff/11001/src/pkg/os/exec_plan9.go#newcode42 src/pkg/os/exec_plan9.go:42: f, e := OpenFile("/proc/"+itoa(p.Pid)+"/ctl", O_WRONLY, 0) On 2012/04/26 ...
12 years, 10 months ago (2012-04-27 05:35:28 UTC) #8
rsc
LGTM http://codereview.appspot.com/6015046/diff/20001/src/pkg/syscall/syscall_plan9.go File src/pkg/syscall/syscall_plan9.go (right): http://codereview.appspot.com/6015046/diff/20001/src/pkg/syscall/syscall_plan9.go#newcode26 src/pkg/syscall/syscall_plan9.go:26: // A Note is a string describing a ...
12 years, 10 months ago (2012-05-03 21:44:26 UTC) #9
akumar
LGTM. On 2012/05/03 21:44:26, rsc wrote: > LGTM > > http://codereview.appspot.com/6015046/diff/20001/src/pkg/syscall/syscall_plan9.go > File src/pkg/syscall/syscall_plan9.go (right): ...
12 years, 10 months ago (2012-05-03 22:11:03 UTC) #10
ality
12 years, 10 months ago (2012-05-04 10:44:51 UTC) #11
*** Submitted as http://code.google.com/p/go/source/detail?r=3dcc01e8e6a5 ***

syscall: remove the Signal type on Plan 9

Instead use a new type, "Note", whose underlying
type is just a string.  This change allows us to
remove the exported os.Plan9Note type.

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

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