Merge pull request #77 from 610t/master
Retern to legacy implement for expr(1) etc.
This commit is contained in:
@@ -171,19 +171,8 @@ reswitch: switch (c = *fmt++) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'D':
|
case 'D':
|
||||||
s = va_arg (ap, const unsigned char*);
|
lflag=1;
|
||||||
if (! width)
|
/* FALLTHROUGH */
|
||||||
width = 16;
|
|
||||||
if (sharpflag)
|
|
||||||
padding = ':';
|
|
||||||
while (width--) {
|
|
||||||
c = *s++;
|
|
||||||
PUTC (mkhex (c >> 4));
|
|
||||||
PUTC (mkhex (c));
|
|
||||||
if (width)
|
|
||||||
PUTC (padding);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'd':
|
case 'd':
|
||||||
case 'i':
|
case 'i':
|
||||||
|
|||||||
Reference in New Issue
Block a user