This is the mail archive of the glibc-bugs@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]
Other format: [Raw text]

[Bug libc/559] %I64d is ignored when prepending it with qualifiers


------- Additional Comments From jakub at redhat dot com  2004-11-18 23:28 -------
Can you explain what do you think %15I64d should do and why?
I is a flag (GNU extension).
Look what the standard says:
http://www.opengroup.org/onlinepubs/009695399/functions/fprintf.html
The order for a conversion specification is:
1) zero or more flags
2) optional width
3) optional precision
4) optional length modifier
5) conversion specifier
Given that I is a flag, %I64d is valid conversion specification - locale digits,
width 64, signed int argument, but %15Id or %15I64d is ill formed, as width
preceedes flag.

You can also look at Output Conversion Syntax in info libc.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sources.redhat.com/bugzilla/show_bug.cgi?id=559

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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