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: "rsa at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 27 Feb 2009 23:08:01 -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 rsa at us dot ibm dot com 2009-02-27 23:08 -------
Created an attachment (id=3783)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3783&action=view)
printf-hooks-2009-02-27.patch
This is getting closer to the design that Ulrich requested.
There's still a 'free()' callback but this will be replaced by a sizeof(type)
requirement on the registration function and the storage will be managed
internally by glibc.
Also, I currently have two separate registration functions because the length
modifier doesn't need all of the callbacks that the conversion specifier needs.
These can certainly be unified if necessary.
Finally, I haven't implemented flag overrides because I'm not sure it is
necessary at this point. (None of the draft specs include flag overrides).
--
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.