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

Issue 76580044: code review 76580044: src/cmd/ld/lib.c: don't delete output binary if not "or...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by mra
Modified:
11 years ago
Reviewers:
dave, rsc, iant, golang-codereviews
CC:
golang-codereviews
Visibility:
Public.

Description

cmd/ld: don't delete output binary if not "ordinary" file. e.g., don't delete /dev/null. this fix inspired by gnu libiberty, unlink-if-ordinary.c. Fixes issue 7563

Patch Set 1 #

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

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

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

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

Total comments: 2

Patch Set 6 : code review 76580044: cmd/ld: don't delete output binary if not "ordinary" file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+-1 lines, --1 lines) Patch
~rietveld~placeholder~ View 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 11
mra
Hello golang-codereviews@googlegroups.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 1 month ago (2014-03-17 16:16:03 UTC) #1
mra
thanks in advance, and my motivation for submitting this is that when editing golang code ...
11 years, 1 month ago (2014-03-17 16:20:31 UTC) #2
iant
Thanks, but this is not the right fix. I outlined the right fix in the ...
11 years, 1 month ago (2014-03-17 17:58:26 UTC) #3
mra
Hello golang-codereviews@googlegroups.com, iant@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 1 month ago (2014-03-17 19:50:08 UTC) #4
mra
i forgot to say PTAL, thanks, & i'll be happy to revise as folks think ...
11 years, 1 month ago (2014-03-20 21:39:31 UTC) #5
iant
The CL description should start with just cmd/ld (you can change it with "hg change", ...
11 years, 1 month ago (2014-03-20 22:41:51 UTC) #6
mra
my apologies, i'm abandoning this CL and have replaced it with https://codereview.appspot.com/76810045 because it seems ...
11 years, 1 month ago (2014-03-22 00:14:48 UTC) #7
dave_cheney.net
hg change -d 6810045 <https://codereview.appspot.com/76810045> On Sat, Mar 22, 2014 at 11:14 AM, <mra@xoba.com> wrote: ...
11 years, 1 month ago (2014-03-22 10:18:24 UTC) #8
dave_cheney.net
I'm sorry, the correct command is hg change -d 76580044 On Sat, Mar 22, 2014 ...
11 years, 1 month ago (2014-03-22 10:19:17 UTC) #9
mra
thanks, i did try to delete it yesterday, but got the error "abort: cannot change ...
11 years, 1 month ago (2014-03-22 11:57:32 UTC) #10
rsc
11 years ago (2014-04-17 02:30:48 UTC) #11
R=close
Sign in to reply to this message.

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