#%*&*@#(@ sun

This commit is contained in:
Russ Cox
2006-05-21 17:02:05 +00:00
parent ee4955c879
commit 1125f094ce
29 changed files with 563 additions and 44 deletions

View File

@@ -61,7 +61,7 @@ static Convfmt knownfmt[] = {
'u', __ifmt,
#endif
'x', __ifmt,
0, nil,
0, 0,
};
@@ -116,7 +116,7 @@ fmtfmt(int c)
ep = &fmtalloc.fmt[fmtalloc.nfmt];
for(p=fmtalloc.fmt; p<ep; p++)
if(p->c == c){
while(p->fmt == nil) /* loop until value is updated */
while(p->fmt == 0) /* loop until value is updated */
;
return p->fmt;
}