This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6846] Full featured printf hooks
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Apr 2009 22:40:59 -0000
- Subject: [Bug libc/6846] Full featured printf hooks
- References: <20080815064110.6846.rsa@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2009-04-16 22:40 -------
(In reply to comment #23)
> register_printf_specifier ('f', printf_dfp, d128_ais);
> register_printf_specifier ('f', printf_dfp, d32_ais);
> register_printf_specifier ('f', printf_dfp, d64_ais);
That's not how it's supposed to work. Look at the code in comment #20, function
xmm_printf_x and xmm_printf_f. You differentiate the modifiers in the single
callback you install for 'f'. I've mentioned at the end of comment #20 that
installing multiple callbacks for one format doesn't work yet. This is
something I'll address at some point later. It's no issue for this case.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=6846
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.