This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc %I printf flag
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: glibc %I printf flag
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 22 Aug 2000 13:48:42 -0700
- Cc: libc-alpha at sources dot redhat dot com
- References: <Pine.SOL.4.21.0008222043410.6235-100000@red.csi.cam.ac.uk>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"Joseph S. Myers" <jsm28@cam.ac.uk> writes:
> (a) Given that it is undocumented, is it a feature that is going to stay
> around?
Yes.
> (b) In what locales does this make any difference to the output?
All which need special output digits. This probably will be added to
the arabic locales, indian locales, etc.
> (c) Does it make sense to make GCC's format checking recognise it?
Why not.
> (d) If the answer to (c) is yes, then are decimal integer formats (%d, %i,
> %u) to only ones to accept it on, and should the oddity that glibc also
> accepts it after width or precision, unlike other flags, be followed by
> GCC?
It is a flag for the integer formats.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------