]> Cypherpunks repositories - gostls13.git/commit
godoc: bug fix in relativePath
authorRobert Griesemer <gri@golang.org>
Wed, 17 Nov 2010 19:03:33 +0000 (11:03 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 17 Nov 2010 19:03:33 +0000 (11:03 -0800)
commite38b7f49531e8b6aa05fa6a15c7e8527cb668ea6
tree8c353736614b542b70a15c2af873ea97a57483d4
parent18ae633472f312026cff8b31c899102e509ab96d
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
https://golang.org/cl/3146041
src/cmd/godoc/godoc.go