ref: f832f47e5102d752c9770655d2e7582a552a052f
parent: 83a5b3c04bed00c8d79caf1e6bf8a3d999bc832a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Oct 6 02:38:37 EDT 2015
cc: getflag() fmt will be terminated at end of loop (from charles forsyth)
--- a/sys/src/cmd/cc/dpchk.c
+++ b/sys/src/cmd/cc/dpchk.c
@@ -76,9 +76,9 @@
nstar = 0;
while(fmt < e){s += chartorune(&c, s);
- fmt += runetochar(fmt, &c);
if(c == 0 || c >= nelem(flagbits))
break;
+ fmt += runetochar(fmt, &c);
f = flagbits[c];
switch(f) {case Fnone:
--
⑨