• Robert Griesemer's avatar
    godoc: fix ToAbsolute mapping · 0e4d1c3e
    Robert Griesemer authored
    The implementation of splitFirst was broken;
    splitFirst("foo/") must be the same as splitFirst("foo").
    As a result, ToAbsolute could be simplified, and as a side
    effect this fixes a long-standing bug.
    
    Thanks to Luca Greco <luca.greco@alcacoop.it> for doing
    the investigation.
    
    Fixes #1157.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/5278050
    0e4d1c3e
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
cc Loading commit data...
cgo Loading commit data...
cov Loading commit data...
gc Loading commit data...
go Loading commit data...
godefs Loading commit data...
godoc Loading commit data...
gofix Loading commit data...
gofmt Loading commit data...
goinstall Loading commit data...
gomake Loading commit data...
gopack Loading commit data...
gotest Loading commit data...
govet Loading commit data...
goyacc Loading commit data...
hgpatch Loading commit data...
ld Loading commit data...
nm Loading commit data...
prof Loading commit data...
Makefile Loading commit data...