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

Issue 5784065: code review 5784065: cmd/gc: import path cannot start with slash on Windows (Closed)

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

Description

cmd/gc: import path cannot start with slash on Windows For CL 5756065.

Patch Set 1 #

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/cmd/gc/lex.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
minux1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 1 month ago (2012-03-09 09:22:16 UTC) #1
rsc
This suggests that islocalname("/") is false on Windows. Can we fix that instead?
12 years, 1 month ago (2012-03-09 19:24:53 UTC) #2
minux1
PTAL. On 2012/03/09 19:24:53, rsc wrote: > This suggests that islocalname("/") is false on Windows. ...
12 years, 1 month ago (2012-03-09 20:04:37 UTC) #3
rsc
> Related code: > if(!windows && name->len >= 1 && name->s[0] == '/') > return ...
12 years, 1 month ago (2012-03-09 20:09:22 UTC) #4
minux1
PTAL. On 2012/03/09 20:09:22, rsc wrote: > Please remove the !windows in the first, but ...
12 years, 1 month ago (2012-03-09 20:19:31 UTC) #5
rsc
LGTM I think the message is okay.
12 years, 1 month ago (2012-03-09 21:10:22 UTC) #6
minux1
12 years, 1 month ago (2012-03-09 21:12:01 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=7574ac0a8014 ***

cmd/gc: import path cannot start with slash on Windows
        For CL 5756065.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5784065
Sign in to reply to this message.

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