Added lintlib, minor optim

This commit is contained in:
ceriel 1987-05-18 13:11:50 +00:00
parent ff505d48ed
commit cdf0fa6d6b

View file

@ -21,16 +21,17 @@ bts2str(b, n, s)
if (is_print(*f)) if (is_print(*f))
*t++ = *f++; *t++ = *f++;
else { else {
register int n = (*f++ & 0377);
register int i;
register char *p; register char *p;
register int n = (*f++ & 0377);
*t = '\\'; *t = '\\';
p = (t += 4); p = (t += 4);
for (i = 0; i < 3; i++) { *--p = (n & 07) + '0';
*--p = (n & 07) + '0'; n >>= 3;
n >>= 3; *--p = (n & 07) + '0';
} n >>= 3;
*--p = (n & 07) + '0';
n >>= 3;
} }
} }
*t = '\000'; *t = '\000';