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

Issue 7333047: code review 7333047: runtime: fix sigaction struct on freebsd (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by jsing
Modified:
12 years, 4 months ago
Reviewers:
CC:
golang-dev, dave_cheney.net, minux1
Visibility:
Public.

Description

runtime: fix sigaction struct on freebsd Fix the sa_mask member of the sigaction struct - on FreeBSD this is declared as a sigset_t, which is an array of four unsigned ints. Replace the current int64 with Sigset from defs_freebsd_GOARCH, which has the correct definition. Unbreaks the FreeBSD builds.

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M src/pkg/runtime/signal_freebsd_386.c View 2 chunks +5 lines, -2 lines 0 comments Download
M src/pkg/runtime/signal_freebsd_amd64.c View 2 chunks +5 lines, -2 lines 0 comments Download
M src/pkg/runtime/signal_freebsd_arm.c View 1 2 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 6
jsing
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 4 months ago (2013-02-16 15:50:56 UTC) #1
dave_cheney.net
FreeBSD arm ? On Sun, Feb 17, 2013 at 2:50 AM, <jsing@google.com> wrote: > Reviewers: ...
12 years, 4 months ago (2013-02-16 22:17:39 UTC) #2
jsing
On 2013/02/16 22:17:39, dfc wrote: > FreeBSD arm ? The fix should be the same, ...
12 years, 4 months ago (2013-02-17 13:10:16 UTC) #3
dave_cheney.net
I can test tomorrow on freebsd/arm. I believe your proposal will be proven correct On ...
12 years, 4 months ago (2013-02-17 13:25:58 UTC) #4
minux1
LGTM. Tested on freebsd/arm and freebsd/amd64.
12 years, 4 months ago (2013-02-17 13:39:46 UTC) #5
jsing
12 years, 4 months ago (2013-02-17 16:23:40 UTC) #6
*** Submitted as https://code.google.com/p/go/source/detail?r=ddad93a43297 ***

runtime: fix sigaction struct on freebsd

Fix the sa_mask member of the sigaction struct - on FreeBSD this is
declared as a sigset_t, which is an array of four unsigned ints.
Replace the current int64 with Sigset from defs_freebsd_GOARCH, which
has the correct definition.

Unbreaks the FreeBSD builds.

R=golang-dev, dave, minux.ma
CC=golang-dev
https://codereview.appspot.com/7333047
Sign in to reply to this message.

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