1
0
mirror of https://github.com/golang/go synced 2024-10-06 03:11:21 -06:00
go/src/cmd/doc
Rob Pike 8401b19e7e cmd/doc: fix handling of paths like ./fmt
An error in string slice offsets caused the loop to run forever if the
first character in the argument was a period.

Fixes #10833.

Change-Id: Iefb6aac5cff8864fe93d08e2600cb07d82c6f6df
Reviewed-on: https://go-review.googlesource.com/10285
Reviewed-by: Russ Cox <rsc@golang.org>
2015-05-20 20:53:14 +00:00
..
main.go cmd/doc: fix handling of paths like ./fmt 2015-05-20 20:53:14 +00:00
pkg.go cmd/doc: put blank lines around comment for types, etc. 2015-05-18 19:32:14 +00:00