xserver-multidpi/hw/xfree86/loader
Alan Coopersmith c95c1d338f Add asprintf() implementation for platforms without it
Provides a portable implementation of this common allocating sprintf()
API found in many, but not yet all, of the platforms we support.
If the platform provides vasprintf() we simply wrap it, otherwise we
implement it - either way callers can use it regardless of platform.

Since not all platforms guarantee to NULL out the return pointer on
failure, we don't either, and require callers to check the return
value for -1.

The old Xprintf() API is deprecated, but left for compatibility for now.

The new API is added in a new header so that it can be used in parts of
the server such as hw/xfree86/parser that don't include all the server
headers.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2010-12-07 11:10:35 -08:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
loader.c xfree86: Do not call dlclose(NULL) [regression after ab7f057] 2010-10-04 11:46:07 -07:00
loader.h loader: Remove a silly layer of reference counting 2010-09-22 10:57:12 -04:00
loaderProcs.h loader: Remove a silly layer of reference counting 2010-09-22 10:57:12 -04:00
loadext.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
loadmod.c FindModuleInSubdir: Stop allocating one more byte than needed 2010-11-30 16:25:22 -08:00
Makefile.am loader: Merge dlloader directly into the loader 2010-09-22 10:55:55 -04:00
os.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
sdksyms.sh Add asprintf() implementation for platforms without it 2010-12-07 11:10:35 -08:00