diff options
author | Russ Cox <rsc@golang.org> | 2009-07-20 14:16:25 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-07-20 14:16:25 -0700 |
commit | 0f6417756afa994c1670ded5ea73fa3d215ea296 (patch) | |
tree | f44a6c981b0ebfc0c75d2d2051861a1e1ef23fa8 /src/pkg/go/token/token.go | |
parent | ba7d5208a543e9bc2829e09e088b0eef702222e6 (diff) | |
download | golang-0f6417756afa994c1670ded5ea73fa3d215ea296.tar.gz |
avoid strncat in formatters.
the n argument to strncat is the maximum
number of bytes to read from the src,
not the total size of the destination.
R=ken
OCL=31871
CL=31875
Diffstat (limited to 'src/pkg/go/token/token.go')
0 files changed, 0 insertions, 0 deletions