]> Cypherpunks repositories - gostls13.git/commit
godoc: fix bug in zip.go
authorRobert Griesemer <gri@golang.org>
Mon, 29 Aug 2011 23:49:31 +0000 (16:49 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 29 Aug 2011 23:49:31 +0000 (16:49 -0700)
commit6b902628709f694967d54045de949d2db20ddadd
tree7bc83cccb5cb810652e6a0305d68fb73dc4101c7
parent58b05e24482fc206c9473b01dd06c59464cc0b2b
godoc: fix bug in zip.go

The result of sort.Search is in the interval [0,n);
specifically, if no entry is found, the result is n
and not -1.

R=dsymonds
CC=golang-dev
https://golang.org/cl/4982041
src/cmd/godoc/zip.go