This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/6846] Full featured printf hooks


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]