[PATCH 0/7] asprintf v3
alan.coopersmith at oracle.com
Fri Dec 3 21:09:17 PST 2010
This version adopts the middle road, as I suggested earlier today and we
discussed on #xorg-devel IRC today.
To the linker, the ABI will export the function Xasprintf() from the
X server to modules. To programmers, they simply have to include
Xprintf.h (or os.h which includes it), and can then write code using
asprintf(), and let autoconf & Xprintf.h determine whether it should
mapped by a #define to Xasprintf() or simply use the platform's libc
There's a bonus copyright notice update tacked on the front, so that
the main asprintf() patch can update the COPYING file correctly.
[PATCH 1/7] Sun's copyrights now belong to Oracle
[PATCH 2/7] Add asprintf() implementation for platforms without it
[PATCH 3/7] Convert existing Xprintf style calls to asprintf style
[PATCH 4/7] Convert hw/xfree86/parser code to use asprintf() calls
[PATCH 5/7] Convert alloc+sprintf pairs into asprintf() & XNFasprintf() calls
[PATCH 6/7] Replace alloc+strcpy+strcat with asprintf() & XNFasprintf() calls
[PATCH 7/7] Convert cvt code to use XNFasprintf()
I've left off a bunch of previously offered Reviewed-by's on patches
that have changed quite a bit since you reviewed them.
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel