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

Issue 5675095: code review 5675095: cmd/dist: fix pprof permissions

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by bpowers
Modified:
13 years, 1 month ago
Reviewers:
minux1, rsc
CC:
golang-dev, rsc, minux1
Visibility:
Public.

Description

cmd/dist: fix pprof permissions When installing pprof into the tools directory, it needs to have execute permissions on unix-like systems. Fixes issues 3077.

Patch Set 1 #

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

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

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

Total comments: 1

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

Patch Set 6 : diff -r 459d037686be https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -26 lines) Patch
M src/cmd/dist/a.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/dist/build.c View 1 2 3 8 chunks +12 lines, -12 lines 0 comments Download
M src/cmd/dist/buildgc.c View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/cmd/dist/buildruntime.c View 1 2 3 5 chunks +6 lines, -6 lines 0 comments Download
M src/cmd/dist/goc2c.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/dist/unix.c View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M src/cmd/dist/windows.c View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 11
bpowers
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 1 month ago (2012-02-19 03:56:50 UTC) #1
bpowers
On 2012/02/19 03:56:50, bpowers wrote: > Hello https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=golang-dev@googlegroups.com, > > I'd like you to review ...
13 years, 1 month ago (2012-02-19 03:57:46 UTC) #2
rsc
I would instead add an 'int exec' parameter to writefile, and pass a 1 explicitly ...
13 years, 1 month ago (2012-02-19 05:01:29 UTC) #3
bpowers
Hello golang-dev@googlegroups.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-02-19 05:31:02 UTC) #4
minux1
http://codereview.appspot.com/5675095/diff/6003/src/cmd/dist/windows.c File src/cmd/dist/windows.c (right): http://codereview.appspot.com/5675095/diff/6003/src/cmd/dist/windows.c#newcode542 src/cmd/dist/windows.c:542: writefile(Buf *b, char *file, int exec) please add USED(exec)
13 years, 1 month ago (2012-02-19 05:38:28 UTC) #5
bpowers
Hello golang-dev@googlegroups.com, rsc@golang.org, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-02-19 05:54:59 UTC) #6
minux1
Please add "Fixes issue 3077“ to description (Also, IMO, the description don't need to be ...
13 years, 1 month ago (2012-02-21 07:35:41 UTC) #7
bpowers
Hello golang-dev@googlegroups.com, rsc@golang.org, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-02-21 13:46:52 UTC) #8
bpowers
Thanks for the review and suggestions! On Tue, Feb 21, 2012 at 2:35 AM, <minux.ma@gmail.com> ...
13 years, 1 month ago (2012-02-21 13:47:36 UTC) #9
rsc
LGTM
13 years, 1 month ago (2012-02-21 21:47:29 UTC) #10
rsc
13 years, 1 month ago (2012-02-21 21:49:33 UTC) #11
*** Submitted as http://code.google.com/p/go/source/detail?r=7d0f321ea87c ***

cmd/dist: fix pprof permissions

When installing pprof into the tools directory, it needs to
have execute permissions on unix-like systems.

Fixes issues 3077.

R=golang-dev, rsc, minux.ma
CC=golang-dev
http://codereview.appspot.com/5675095

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