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

Issue 3146041: code review 3146041: godoc: goroot must be clean, w/o trailing '/' (bug fix) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 7 months ago by gri
Modified:
14 years, 7 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

godoc: bug fix in relativePath This fixes a problem with relativePath, where a prefix was not recognized because it ended in "//" as opposed to just "/". Also: Minor unrelated cleanup of a declaration.

Patch Set 1 #

Patch Set 2 : code review 3146041: godoc: clean $GOROOT before using it #

Patch Set 3 : code review 3146041: godoc: clean $GOROOT before using it #

Patch Set 4 : code review 3146041: godoc: clean $GOROOT before using it #

Patch Set 5 : code review 3146041: godoc: clean $GOROOT before using it #

Patch Set 6 : code review 3146041: godoc: bug fix in relativePath #

Patch Set 7 : code review 3146041: godoc: bug fix in relativePath #

Patch Set 8 : code review 3146041: godoc: bug fix in relativePath #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -14 lines) Patch
M src/cmd/godoc/godoc.go View 1 2 3 4 4 chunks +20 lines, -14 lines 0 comments Download

Messages

Total messages: 7
gri
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 7 months ago (2010-11-16 19:48:52 UTC) #1
rsc
i don't think this is correct. path.Clean("/") = "/"
14 years, 7 months ago (2010-11-16 19:52:32 UTC) #2
gri
I think this change is fine. a) The Clean call will make sure goroot is ...
14 years, 7 months ago (2010-11-16 22:23:03 UTC) #3
rsc1
Can path.Clean be dropped now? I am just a little worried about the fact that ...
14 years, 7 months ago (2010-11-17 18:22:56 UTC) #4
gri
sure. PTAL. - gri On Wed, Nov 17, 2010 at 10:22 AM, <rsc@google.com> wrote: > ...
14 years, 7 months ago (2010-11-17 18:28:17 UTC) #5
rsc1
LGTM
14 years, 7 months ago (2010-11-17 18:47:16 UTC) #6
gri
14 years, 7 months ago (2010-11-17 19:03:39 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=f175c3526379 ***

godoc: bug fix in relativePath

This fixes a problem with relativePath, where
a prefix was not recognized because it ended
in "//" as opposed to just "/".

Also: Minor unrelated cleanup of a declaration.

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

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