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:
parent
86c0c54d27
commit
b73b43ea31
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user