This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/6530] *printf() and incomplete multibyte sequences returns -1 bogusly
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 11 Mar 2012 16:31:51 +0000
- Subject: [Bug stdio/6530] *printf() and incomplete multibyte sequences returns -1 bogusly
- Auto-submitted: auto-generated
- References: <bug-6530-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=6530
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #3 from Rich Felker <bugdal at aerifal dot cx> 2012-03-11 16:31:51 UTC ---
This may be a duplicate of another longstanding bug report that Mr. Drepper has
marked as WONTFIX despite it being obviously non-conformant. He seems to
believe, for whatever reason, that avoiding writing out incomplete multibyte
sequences in incorrect programs that use %.NNs formats haphazardly with
multibyte strings is more important than not breaking correct programs that are
using %.NNs with strings not intended to be interpreted as multibyte characters
in the current locale. Neither C nor POSIX makes any requirement that strings
used with the %s format specifier be valid multibyte character sequences in the
current locale; glibc is simply wrong on this issue.
--
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.