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

Issue 4746047: code review 4746047: go/build: fixes for windows paths (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by brainman
Modified:
13 years, 9 months ago
Reviewers:
CC:
golang-dev, mattn, adg
Visibility:
Public.

Description

go/build: fixes for windows paths

Patch Set 1 #

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

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -12 lines) Patch
M src/pkg/go/build/path.go View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M src/pkg/path/filepath/path.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/path/filepath/path_plan9.go View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M src/pkg/path/filepath/path_unix.go View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M src/pkg/path/filepath/path_windows.go View 1 2 3 4 3 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 7
brainman
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 9 months ago (2011-07-19 00:46:43 UTC) #1
mattn
LGTM On 2011/07/19 00:46:43, brainman wrote: > Hello mailto:golang-dev@googlegroups.com, > > I'd like you to ...
13 years, 9 months ago (2011-07-19 00:52:46 UTC) #2
brainman
I have unresolved issue here. I think isLocalPath() should work for paths like c:.\aa and ...
13 years, 9 months ago (2011-07-19 00:58:16 UTC) #3
adg
On 2011/07/19 00:58:16, brainman wrote: > I have unresolved issue here. > > I think ...
13 years, 9 months ago (2011-07-19 01:01:35 UTC) #4
brainman
Hello golang-dev@googlegroups.com, mattn.jp@gmail.com, adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 9 months ago (2011-07-19 02:33:53 UTC) #5
adg
LGTM http://codereview.appspot.com/4746047/diff/12001/src/pkg/path/filepath/path_windows.go File src/pkg/path/filepath/path_windows.go (right): http://codereview.appspot.com/4746047/diff/12001/src/pkg/path/filepath/path_windows.go#newcode23 src/pkg/path/filepath/path_windows.go:23: // If given "C:\foo\bar", return "C:" on windows. ...
13 years, 9 months ago (2011-07-19 03:40:46 UTC) #6
brainman
13 years, 9 months ago (2011-07-19 04:02:40 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=16c14fb2fea5 ***

go/build: fixes for windows paths

R=golang-dev, mattn.jp, adg
CC=golang-dev
http://codereview.appspot.com/4746047

http://codereview.appspot.com/4746047/diff/12001/src/pkg/path/filepath/path_w...
File src/pkg/path/filepath/path_windows.go (right):

http://codereview.appspot.com/4746047/diff/12001/src/pkg/path/filepath/path_w...
src/pkg/path/filepath/path_windows.go:23: // If given "C:\foo\bar", return "C:"
on windows.
On 2011/07/19 03:40:46, adg wrote:
> Given "C:\foo\bar" it returns "C:" under windows.
> On other platforms it returns "".

Done.
Sign in to reply to this message.

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