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

Issue 4249064: code review 4249064: path: work for windows. (Closed)

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

Description

path: work for windows.

Patch Set 1 #

Patch Set 2 : diff -r 6058afae6960 http://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 6058afae6960 http://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 6058afae6960 http://go.googlecode.com/hg/ #

Total comments: 34

Patch Set 5 : diff -r 6058afae6960 http://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 6058afae6960 http://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 7 : diff -r 6058afae6960 http://go.googlecode.com/hg/ #

Patch Set 8 : diff -r 6058afae6960 http://go.googlecode.com/hg/ #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -26 lines) Patch
M src/pkg/path/filepath/Makefile View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/path/filepath/match_test.go View 1 2 3 4 5 6 7 4 chunks +10 lines, -0 lines 0 comments Download
M src/pkg/path/filepath/path.go View 1 2 3 4 8 chunks +22 lines, -19 lines 1 comment Download
M src/pkg/path/filepath/path_test.go View 1 8 chunks +30 lines, -6 lines 1 comment Download
M src/pkg/path/filepath/path_unix.go View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
A src/pkg/path/filepath/path_windows.go View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 16
mattn
Hello golang-dev@googlegroups.com, I'd like you to review this change to http://go.googlecode.com/hg/
14 years, 4 months ago (2011-03-09 05:26:10 UTC) #1
brainman
Please, check your changes with godoc to see if it resolves our windows path problems. ...
14 years, 4 months ago (2011-03-09 06:12:27 UTC) #2
rsc
http://codereview.appspot.com/4249064/diff/6001/src/pkg/path/filepath/match.go File src/pkg/path/filepath/match.go (right): http://codereview.appspot.com/4249064/diff/6001/src/pkg/path/filepath/match.go#newcode45 src/pkg/path/filepath/match.go:45: return strings.IndexFunc(name, isSeparatorFunc) < 0, nil Please revert the ...
14 years, 4 months ago (2011-03-09 06:16:18 UTC) #3
mattn
Hello brainman, rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 4 months ago (2011-03-09 06:43:24 UTC) #4
mattn
http://codereview.appspot.com/4249064/diff/6001/src/pkg/path/filepath/match.go File src/pkg/path/filepath/match.go (right): http://codereview.appspot.com/4249064/diff/6001/src/pkg/path/filepath/match.go#newcode45 src/pkg/path/filepath/match.go:45: return strings.IndexFunc(name, isSeparatorFunc) < 0, nil On 2011/03/09 06:12:27, ...
14 years, 4 months ago (2011-03-09 06:43:35 UTC) #5
rsc
http://codereview.appspot.com/4249064/diff/4008/src/pkg/path/filepath/match.go File src/pkg/path/filepath/match.go (right): http://codereview.appspot.com/4249064/diff/4008/src/pkg/path/filepath/match.go#newcode62 src/pkg/path/filepath/match.go:62: for i := 0; i < len(name) && !isSeparator(name[i]); ...
14 years, 4 months ago (2011-03-09 06:46:06 UTC) #6
mattn
http://codereview.appspot.com/4249064/diff/4008/src/pkg/path/filepath/match.go File src/pkg/path/filepath/match.go (right): http://codereview.appspot.com/4249064/diff/4008/src/pkg/path/filepath/match.go#newcode62 src/pkg/path/filepath/match.go:62: for i := 0; i < len(name) && !isSeparator(name[i]); ...
14 years, 4 months ago (2011-03-09 07:05:01 UTC) #7
mattn
*** Abandoned ***
14 years, 4 months ago (2011-03-10 01:30:23 UTC) #8
mattn
On 2011/03/10 01:30:23, mattn wrote: > *** Abandoned *** I had mistake to update issue. ...
14 years, 4 months ago (2011-03-10 01:54:19 UTC) #9
brainman
LGTM. But I won't know until it is used somewhere in real life app, like ...
14 years, 4 months ago (2011-03-10 05:24:25 UTC) #10
rsc
LGTM I am happy with this. We can worry about Clean in a separate CL. ...
14 years, 4 months ago (2011-03-11 16:26:33 UTC) #11
brainman
On 2011/03/11 16:26:33, rsc wrote: > We can worry about Clean in a separate CL. ...
14 years, 4 months ago (2011-03-12 08:32:07 UTC) #12
brainman
On 2011/03/12 08:32:07, brainman wrote: > On 2011/03/11 16:26:33, rsc wrote: > > We can ...
14 years, 3 months ago (2011-03-15 00:56:14 UTC) #13
rsc1
I think just change the segments table in go/scanner/scanner_test.go to use calls to filepath.Join("dir", "TestLineComments") ...
14 years, 3 months ago (2011-03-15 00:59:06 UTC) #14
rsc
Also you should be able to send the CL fixing the go/scanner test *before* submitting ...
14 years, 3 months ago (2011-03-15 00:59:34 UTC) #15
brainman
14 years, 3 months ago (2011-03-16 23:41:29 UTC) #16
*** Submitted as http://code.google.com/p/go/source/detail?r=8bc316b4f8d6 ***

path: work for windows.

R=brainman, rsc, rsc1
CC=golang-dev
http://codereview.appspot.com/4249064

Committer: Alex Brainman <alex.brainman@gmail.com>
Sign in to reply to this message.

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