From: Ben Gras Date: Tue, 22 Jun 2010 16:22:17 +0000 (+0000) Subject: stdio: j modifier for %d. (Contributed by Buccapatnam Tirumala, Gautam) X-Git-Tag: v3.1.8~395 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/FAQ?a=commitdiff_plain;h=81056ac999889e46494301b3e640fbf9617d0efb;p=minix.git stdio: j modifier for %d. (Contributed by Buccapatnam Tirumala, Gautam) --- diff --git a/lib/libc/stdio/doprnt.c b/lib/libc/stdio/doprnt.c index d1cf1d26c..432b5edce 100644 --- a/lib/libc/stdio/doprnt.c +++ b/lib/libc/stdio/doprnt.c @@ -187,6 +187,12 @@ _doprnt(register const char *fmt, va_list ap, FILE *stream) case 'h': flags |= FL_SHORT; break; + case 'j': + flags |= FL_LONG; +#if defined(__LONG_LONG_SUPPORTED) + flags |= FL_LONGLONG; +#endif + break; case 'l': if(flags & FL_LONG) flags |= FL_LONGLONG;