public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71da2cd
)
Fix by Charles Lindsey
author
ceriel
<none@none>
Mon, 25 Sep 1995 08:09:55 +0000
(08:09 +0000)
committer
ceriel
<none@none>
Mon, 25 Sep 1995 08:09:55 +0000
(08:09 +0000)
lang/cem/libcc/stdio/doscan.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc/stdio/doscan.c
b/lang/cem/libcc/stdio/doscan.c
index
d170ded
..
30419ac
100644
(file)
--- a/
lang/cem/libcc/stdio/doscan.c
+++ b/
lang/cem/libcc/stdio/doscan.c
@@
-89,7
+89,7
@@
va_list ap;
longflag = 1;
}
else kind = *format;
- if (kind != 'c')
+ if (kind != 'c'
&& kind != '['
)
while (isspace (ic))
ic = getc(iop);
done_some = 0; /* nothing yet */
@@
-214,7
+214,7
@@
va_list ap;
{ register char *p;
if (do_assign)
p = va_arg(ap, char *);
- while (width-- &&
!isspace (ic) &&
ic > 0 &&
+ while (width-- && ic > 0 &&
(Xtable[ic] ^ reverse)) {
if (do_assign)
*p++ = (char) ic;