* smallprint.c (__small_vsprintf): Implement '%o' after all these years.

This commit is contained in:
Christopher Faylor 2002-05-23 06:00:49 +00:00
parent ff7b1ed927
commit b2f338e9a9
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-05-23 Christopher Faylor <cgf@redhat.com>
* smallprint.c (__small_vsprintf): Implement '%o' after all these
years.
2002-05-22 Christopher Faylor <cgf@redhat.com>
* fhandler.h (fhandler_virtual::exists): Eliminate path argument.

View File

@ -135,6 +135,9 @@ __small_vsprintf (char *dst, const char *fmt, va_list ap)
case 'U':
dst = rn (dst, 10, 0, va_arg (ap, long long), len, pad);
break;
case 'o':
dst = rn (dst, 8, 0, va_arg (ap, unsigned), len, pad);
break;
case 'p':
*dst++ = '0';
*dst++ = 'x';