http://sourceware.org/bugzilla/show_bug.cgi?id=6530
--- Comment #25 from Rich Felker bugdal at aerifal dot cx 2012-06-24 21:44:37
UTC ---
When a bug has been known for over 4 years and there's such a simple fix, why
is there discussion of putting off fixing it until later? Or am I
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
http://sourceware.org/bugzilla/show_bug.cgi?id=6530
--- Comment #22 from Rich Felker bugdal at aerifal dot cx 2012-06-23 20:53:14
UTC ---
That's because you made the classic printf mistake of confusing width and
precision.
Try L%.3s.
--
Configure bugmail: http://sourceware.org/bugzilla
http://sourceware.org/bugzilla/show_bug.cgi?id=6530
--- Comment #12 from Rich Felker bugdal at aerifal dot cx 2012-06-22 22:20:23
UTC ---
Fixing this bug should not be complex or invasive. Basically, it's a case of
special-case code having been incorrectly written for a case that does not need
http://sourceware.org/bugzilla/show_bug.cgi?id=6530
--- Comment #13 from Rich Felker bugdal at aerifal dot cx 2012-06-23 00:54:03
UTC ---
Created attachment 6472
-- http://sourceware.org/bugzilla/attachment.cgi?id=6472
patch to fix the bug
This patch fixes the bug. As I suspected, it's all
http://sourceware.org/bugzilla/show_bug.cgi?id=6530
--- Comment #15 from Rich Felker bugdal at aerifal dot cx 2012-06-23 03:04:11
UTC ---
The bug has nothing to do with wprintf. It applies to the non-wide printf
functions. The text you cited is about wprintf and is therefore irrelevant
http://sourceware.org/bugzilla/show_bug.cgi?id=6530
--- Comment #17 from Rich Felker bugdal at aerifal dot cx 2012-06-23 03:30:16
UTC ---
Apologies for jumping on your reply. I did read the whole thing but didn't get
what you intended the message to be, and the whole history of this bug has been
http://sourceware.org/bugzilla/show_bug.cgi?id=6530
--- Comment #8 from Rich Felker bugdal at aerifal dot cx 2012-05-14 13:21:52
UTC ---
Any progress on this? I'm going to try to find and reopen the bug it's a
duplicate of; perhaps then they can be marked as duplicate.
--
Configure bugmail
http://sourceware.org/bugzilla/show_bug.cgi?id=6530
Rich Felker bugdal at aerifal dot cx changed:
What|Removed |Added
CC||bugdal at aerifal
9 matches
Mail list logo