Merge pull request #77 from 610t/master

Retern to legacy implement for expr(1) etc.
This commit is contained in:
Serge Vakulenko
2017-02-14 23:25:59 -08:00
committed by GitHub

View File

@@ -171,19 +171,8 @@ reswitch: switch (c = *fmt++) {
break;
case 'D':
s = va_arg (ap, const unsigned char*);
if (! width)
width = 16;
if (sharpflag)
padding = ':';
while (width--) {
c = *s++;
PUTC (mkhex (c >> 4));
PUTC (mkhex (c));
if (width)
PUTC (padding);
}
break;
lflag=1;
/* FALLTHROUGH */
case 'd':
case 'i':