This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc %I printf flag


"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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]