Commits

Anonymous committed e205103

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

Fixes issue 221.

R=ken2
http://codereview.appspot.com/165086

  • Participants
  • Parent commits 81694c9
  • Branches default
  • Tags weekly.2009-12-07

Comments (0)

Files changed (2)

src/cmd/6l/list.c

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

src/cmd/8l/list.c

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