6l, 8l: make string buffer big enough for 8 chars (and then some)
Fixes #221.
R=ken2
https://golang.org/cl/165086
diff --git a/src/cmd/6l/list.c b/src/cmd/6l/list.c
index 34b66c0..ecb189b 100644
--- a/src/cmd/6l/list.c
+++ b/src/cmd/6l/list.c
@@ -361,7 +361,7 @@
Sconv(Fmt *fp)
{
int i, c;
- char str[30], *p, *a;
+ char str[100], *p, *a;
a = va_arg(fp->args, char*);
p = str;
diff --git a/src/cmd/8l/list.c b/src/cmd/8l/list.c
index ec6a1fa..8736ac8 100644
--- a/src/cmd/8l/list.c
+++ b/src/cmd/8l/list.c
@@ -275,7 +275,7 @@
Sconv(Fmt *fp)
{
int i, c;
- char str[30], *p, *a;
+ char str[100], *p, *a;
a = va_arg(fp->args, char*);
p = str;