1
0
mirror of https://github.com/golang/go synced 2024-11-21 18:44:45 -07:00

change print print buffer size

to go with the full path names

R=rsc
CC=golang-dev
https://golang.org/cl/195079
This commit is contained in:
Ken Thompson 2010-01-27 15:37:46 -08:00
parent a186b77b03
commit 424f9ca6ab
7 changed files with 19 additions and 19 deletions

View File

@ -213,7 +213,7 @@ char* strcond[16] =
int
Cconv(Fmt *fp)
{
char s[20];
char s[STRINGSZ];
int c;
c = va_arg(fp->args, int);
@ -233,7 +233,7 @@ int
Yconv(Fmt *fp)
{
int i, c;
char str[100], *p, *a;
char str[STRINGSZ], *p, *a;
a = va_arg(fp->args, char*);
p = str;
@ -278,7 +278,7 @@ int
Rconv(Fmt *fp)
{
int r;
char str[30];
char str[STRINGSZ];
r = va_arg(fp->args, int);
snprint(str, sizeof(str), "R%d", r);

View File

@ -111,7 +111,7 @@ Aconv(Fmt *fp)
int
Dconv(Fmt *fp)
{
char str[40], s[20];
char str[STRINGSZ], s[STRINGSZ];
Adr *a;
int i;
@ -337,7 +337,7 @@ char* regstr[] =
int
Rconv(Fmt *fp)
{
char str[20];
char str[STRINGSZ];
int r;
r = va_arg(fp->args, int);
@ -353,7 +353,7 @@ int
Sconv(Fmt *fp)
{
int i, c;
char str[100], *p, *a;
char str[STRINGSZ], *p, *a;
a = va_arg(fp->args, char*);
p = str;

View File

@ -73,7 +73,7 @@ Pconv(Fmt *fp)
int
Dconv(Fmt *fp)
{
char str[100], s[100];
char str[STRINGSZ], s[STRINGSZ];
Addr *a;
int i;
uint32 d1, d2;
@ -313,7 +313,7 @@ int
Yconv(Fmt *fp)
{
int i, c;
char str[100], *p, *a;
char str[STRINGSZ], *p, *a;
a = va_arg(fp->args, char*);
p = str;

View File

@ -96,7 +96,7 @@ Aconv(Fmt *fp)
int
Dconv(Fmt *fp)
{
char str[40], s[20];
char str[STRINGSZ], s[STRINGSZ];
Adr *a;
int i;
@ -345,7 +345,7 @@ char* regstr[] =
int
Rconv(Fmt *fp)
{
char str[20];
char str[STRINGSZ];
int r;
r = va_arg(fp->args, int);
@ -361,7 +361,7 @@ int
Sconv(Fmt *fp)
{
int i, c;
char str[100], *p, *a;
char str[STRINGSZ], *p, *a;
a = va_arg(fp->args, char*);
p = str;

View File

@ -100,7 +100,7 @@ Aconv(Fmt *fp)
int
Dconv(Fmt *fp)
{
char str[40], s[20];
char str[STRINGSZ], s[STRINGSZ];
Adr *a;
int i;
@ -258,7 +258,7 @@ char* regstr[] =
int
Rconv(Fmt *fp)
{
char str[20];
char str[STRINGSZ];
int r;
r = va_arg(fp->args, int);
@ -274,7 +274,7 @@ int
Sconv(Fmt *fp)
{
int i, c;
char str[100], *p, *a;
char str[STRINGSZ], *p, *a;
a = va_arg(fp->args, char*);
p = str;

View File

@ -73,7 +73,7 @@ Pconv(Fmt *fp)
int
Dconv(Fmt *fp)
{
char str[100], s[100];
char str[STRINGSZ], s[STRINGSZ];
Addr *a;
int i;
uint32 d1, d2;
@ -256,7 +256,7 @@ int
Yconv(Fmt *fp)
{
int i, c;
char str[100], *p, *a;
char str[STRINGSZ], *p, *a;
a = va_arg(fp->args, char*);
p = str;

View File

@ -94,7 +94,7 @@ xsymname(Sym *s)
int
Dconv(Fmt *fp)
{
char str[200], s[200];
char str[STRINGSZ], s[STRINGSZ];
Adr *a;
int i;
@ -259,7 +259,7 @@ char* regstr[] =
int
Rconv(Fmt *fp)
{
char str[20];
char str[STRINGSZ];
int r;
r = va_arg(fp->args, int);
@ -275,7 +275,7 @@ int
Sconv(Fmt *fp)
{
int i, c;
char str[100], *p, *a;
char str[STRINGSZ], *p, *a;
a = va_arg(fp->args, char*);
p = str;