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

Issue 43150043: code review 43150043: liblink: rewrite '\\' in paths to '/' on windows (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by minux1
Modified:
10 years, 5 months ago
Reviewers:
mattn, brainman, rsc
CC:
brainman, mattn, rsc, golang-dev
Visibility:
Public.

Description

liblink: rewrite '\\' in paths to '/' on windows At least three Go tests rely on that (log, runtime/{pprof,debug}). Fixes issue 6972. Fixes issue 6974. Fixes issue 6975.

Patch Set 1 #

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

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

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

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

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

Patch Set 7 : diff -r 8ef815dd2770 https://code.google.com/p/go #

Patch Set 8 : diff -r 8ef815dd2770 https://code.google.com/p/go #

Total comments: 1

Patch Set 9 : diff -r 091d88caa24f https://code.google.com/p/go #

Patch Set 10 : diff -r 091d88caa24f https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -2 lines) Patch
M src/liblink/objfile.c View 1 2 3 4 5 6 5 chunks +33 lines, -2 lines 0 comments Download

Messages

Total messages: 18
minux1
Hello alex.brainman@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 5 months ago (2013-12-17 05:27:26 UTC) #1
brainman
I am not sure this is right fix. That is how paths were written before ...
10 years, 5 months ago (2013-12-17 05:28:43 UTC) #2
minux1
On Dec 17, 2013 12:28 AM, <alex.brainman@gmail.com> wrote: > I am not sure this is ...
10 years, 5 months ago (2013-12-17 05:44:37 UTC) #3
minux1
please note that the c compiler and assembler are still using forward slash unconditionally. there ...
10 years, 5 months ago (2013-12-17 05:51:06 UTC) #4
mattn
On 2013/12/17 05:27:26, minux wrote: > Hello mailto:alex.brainman@gmail.com (cc: mailto:golang-dev@googlegroups.com), > > I'd like you ...
10 years, 5 months ago (2013-12-17 06:19:07 UTC) #5
brainman
On 2013/12/17 06:19:07, mattn wrote: > > Japanese shift_jis encoding have some characters ... This ...
10 years, 5 months ago (2013-12-17 06:23:00 UTC) #6
minux1
On Dec 17, 2013 1:19 AM, <mattn.jp@gmail.com> wrote: > Japanese shift_jis encoding have some characters ...
10 years, 5 months ago (2013-12-17 06:45:00 UTC) #7
brainman
On 2013/12/17 05:44:37, minux wrote: > as `/` is also a valid windows path separator, ...
10 years, 5 months ago (2013-12-17 06:47:14 UTC) #8
minux1
this change breaks test/run.go errorcheck. i think i will have to do the filename translation ...
10 years, 5 months ago (2013-12-17 06:47:41 UTC) #9
brainman
On 2013/12/17 06:47:41, minux wrote: > this change breaks test/run.go errorcheck. i think i will ...
10 years, 5 months ago (2013-12-17 06:50:48 UTC) #10
mattn
On 2013/12/17 06:45:00, minux wrote: > On Dec 17, 2013 1:19 AM, <mailto:mattn.jp@gmail.com> wrote: > ...
10 years, 5 months ago (2013-12-17 06:56:27 UTC) #11
minux1
please keep in mind one can cross compile from unix, so the filenames in go ...
10 years, 5 months ago (2013-12-17 06:57:39 UTC) #12
minux1
Hello alex.brainman@gmail.com, mattn.jp@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 5 months ago (2013-12-17 07:37:33 UTC) #13
minux1
R: +rsc. i think the latest patch set fixes the right problem (use / only ...
10 years, 5 months ago (2013-12-17 07:40:16 UTC) #14
brainman
LGTM. Let's fix the build. We could always change it later. Alex https://codereview.appspot.com/43150043/diff/140001/src/liblink/objfile.c File src/liblink/objfile.c ...
10 years, 5 months ago (2013-12-18 01:56:42 UTC) #15
rsc
LGTM On Tue, Dec 17, 2013 at 8:56 PM, <alex.brainman@gmail.com> wrote: > LGTM. > > ...
10 years, 5 months ago (2013-12-18 02:44:23 UTC) #16
brainman
We also need https://codereview.appspot.com/43730043/ to fix windows builders. Alex
10 years, 5 months ago (2013-12-18 03:13:20 UTC) #17
minux1
10 years, 5 months ago (2013-12-18 03:40:20 UTC) #18
*** Submitted as https://code.google.com/p/go/source/detail?r=676b14022aff ***

liblink: rewrite '\\' in paths to '/' on windows
At least three Go tests rely on that (log, runtime/{pprof,debug}).

Fixes issue 6972.
Fixes issue 6974.
Fixes issue 6975.

R=alex.brainman, mattn.jp, rsc
CC=golang-dev
https://codereview.appspot.com/43150043
Sign in to reply to this message.

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