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

Issue 5574078: code review 5574078: os: remove SIGXXX signals variables. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by bradfitz
Modified:
12 years, 3 months ago
Reviewers:
CC:
golang-dev, mikio, r2, niemeyer, rsc
Visibility:
Public.

Description

os: remove SIGXXX signals variables. They're not portable, and pkg os is supposed to be portable. Fixes issue 2562

Patch Set 1 #

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

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

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

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

Patch Set 6 : diff -r 50e2761fae14 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -678 lines) Patch
M src/buildscript/darwin_386.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/darwin_amd64.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/freebsd_386.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/freebsd_amd64.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/linux_386.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/linux_amd64.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/linux_arm.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/netbsd_386.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/netbsd_amd64.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/openbsd_386.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/openbsd_amd64.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/windows_386.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/buildscript/windows_amd64.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/os/Makefile View 1 6 chunks +0 lines, -6 lines 0 comments Download
M src/pkg/os/exec_posix.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/os/exec_windows.go View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
R src/pkg/os/mksignals.sh View 1 1 chunk +0 lines, -24 lines 0 comments Download
R src/pkg/os/mkunixsignals.sh View 1 1 chunk +0 lines, -27 lines 0 comments Download
M src/pkg/os/signal/signal_test.go View 1 1 chunk +4 lines, -2 lines 0 comments Download
R src/pkg/os/zsignal_darwin_386.go View 1 1 chunk +0 lines, -48 lines 0 comments Download
R src/pkg/os/zsignal_darwin_amd64.go View 1 1 chunk +0 lines, -48 lines 0 comments Download
R src/pkg/os/zsignal_freebsd_386.go View 1 1 chunk +0 lines, -50 lines 0 comments Download
R src/pkg/os/zsignal_freebsd_amd64.go View 1 1 chunk +0 lines, -50 lines 0 comments Download
R src/pkg/os/zsignal_linux_386.go View 1 1 chunk +0 lines, -51 lines 0 comments Download
R src/pkg/os/zsignal_linux_amd64.go View 1 1 chunk +0 lines, -51 lines 0 comments Download
R src/pkg/os/zsignal_linux_arm.go View 1 1 chunk +0 lines, -51 lines 0 comments Download
R src/pkg/os/zsignal_netbsd_386.go View 1 1 chunk +0 lines, -49 lines 0 comments Download
R src/pkg/os/zsignal_netbsd_amd64.go View 1 1 chunk +0 lines, -49 lines 0 comments Download
R src/pkg/os/zsignal_openbsd_386.go View 1 1 chunk +0 lines, -49 lines 0 comments Download
R src/pkg/os/zsignal_openbsd_amd64.go View 1 1 chunk +0 lines, -49 lines 0 comments Download
R src/pkg/os/zsignal_windows_386.go View 1 1 chunk +0 lines, -29 lines 0 comments Download
R src/pkg/os/zsignal_windows_amd64.go View 1 1 chunk +0 lines, -29 lines 0 comments Download

Messages

Total messages: 8
bradfitz
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 3 months ago (2012-01-27 01:33:44 UTC) #1
mikio
LGTM I guess src/buildscript files will come after as another CL which contains super duper ...
12 years, 3 months ago (2012-01-27 03:09:35 UTC) #2
r2
This is probably OK, although it might break a few programs. I'd like to hear ...
12 years, 3 months ago (2012-01-27 05:07:48 UTC) #3
bradfitz
Hello golang-dev@googlegroups.com, mikioh.mikioh@gmail.com, r@google.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 3 months ago (2012-01-27 17:24:31 UTC) #4
bradfitz
(added the buildscripts to this CL too) On Fri, Jan 27, 2012 at 9:24 AM, ...
12 years, 3 months ago (2012-01-27 17:25:21 UTC) #5
niemeyer
I suspect more will have to change if that's to be cleaned up. For example, ...
12 years, 3 months ago (2012-01-27 17:32:25 UTC) #6
rsc
LGTM We can leave UnixSignal for now. Maybe it will move to os/signal once that ...
12 years, 3 months ago (2012-01-27 22:34:53 UTC) #7
bradfitz
12 years, 3 months ago (2012-01-27 22:47:05 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=8179934cf77e ***

os: remove SIGXXX signals variables.

They're not portable, and pkg os is supposed to be portable.

Fixes issue 2562

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

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