1
0
mirror of https://github.com/golang/go synced 2024-11-20 04:54:44 -07:00

6l, 8l: make string buffer big enough for 8 chars (and then some)

Fixes #221.

R=ken2
https://golang.org/cl/165086
This commit is contained in:
Russ Cox 2009-12-07 22:01:59 -08:00
parent 86c0c54d27
commit b73b43ea31
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@ int
Sconv(Fmt *fp)
{
int i, c;
char str[30], *p, *a;
char str[100], *p, *a;
a = va_arg(fp->args, char*);
p = str;

View File

@ -275,7 +275,7 @@ int
Sconv(Fmt *fp)
{
int i, c;
char str[30], *p, *a;
char str[100], *p, *a;
a = va_arg(fp->args, char*);
p = str;