This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/14695] Wrong printf("%3s"...) Example --- manual subsection "12.12.6 Other Output Conversions"
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 10 Oct 2012 10:42:03 +0000
- Subject: [Bug manual/14695] Wrong printf("%3s"...) Example --- manual subsection "12.12.6 Other Output Conversions"
- Auto-submitted: auto-generated
- References: <bug-14695-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14695
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> 2012-10-10 10:42:03 UTC ---
printf ("%.3s%-.6s", "no", "where") does not produce " nowhere ", neither does
printf ("%.3s%-.6s", "noOoO", "whereEeEeEeE") produce " noOwhereE ". You need
a field width bigger than the precision to get any padding.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.