[Bug stdio/6530] *printf() and incomplete multibyte sequences returns -1 bogusly
- To: debian-glibc@lists.debian.org
- Subject: [Bug stdio/6530] *printf() and incomplete multibyte sequences returns -1 bogusly
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla@sourceware.org>
- Date: Sat, 23 Jun 2012 11:37:57 +0000
- Message-id: <bug-6530-1917-h9Y4hcV377@http.sourceware.org/bugzilla/>
- In-reply-to: <bug-6530-1917@http.sourceware.org/bugzilla/>
- References: <bug-6530-1917@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=6530
--- Comment #20 from Rich Felker <bugdal at aerifal dot cx> 2012-06-23 11:37:57 UTC ---
I don't think there's any concern about breaking wprintf. wprintf inherently
operates by converting the argument to %s to wide characters since its output
it wide characters; as such, there's no way it could avoid failing when the
input is an invalid multibyte sequence unless it completely ignored the failure
return.
--
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.
You are watching the reporter of the bug.
Reply to: