|
Packit |
ae235b |
The files
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
asnprintf.c
|
|
Packit |
ae235b |
printf-args.c
|
|
Packit |
ae235b |
printf-args.h
|
|
Packit |
ae235b |
printf-parse.c
|
|
Packit |
ae235b |
printf-parse.h
|
|
Packit |
ae235b |
vasnprintf.c
|
|
Packit |
ae235b |
vasnprintf.h
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
are taken from the vasnprintf module of the GNUlib package, which can
|
|
Packit |
ae235b |
be found at:
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
http://www.gnu.org/software/gnulib/
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
All files have been modified to include g-gnulib.h.
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
vasnprintf.c has also been modified to include support for long long
|
|
Packit |
ae235b |
printing if the system printf doesn't. This code is protected by
|
|
Packit |
ae235b |
#ifndef HAVE_LONG_LONG_FORMAT.
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Code has been added to printf-args.[ch], printf-parse.c and vasnprintf.c
|
|
Packit |
ae235b |
to support printing of __int64 values with the I64 format modifier. This
|
|
Packit |
ae235b |
is protected by #ifdef HAVE_INT64_AND_I64.
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
The files
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
printf.h
|
|
Packit |
ae235b |
printf.c
|
|
Packit |
ae235b |
g-gnulib.h
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
have been written by me. printf.[hc] contain implementations of the
|
|
Packit |
ae235b |
remaining functions in the printf family based on vasnprintf.
|
|
Packit |
ae235b |
g-gnulib.h is included by all source files in order to move all
|
|
Packit |
ae235b |
exported functions to the _g_gnulib namespace, replace malloc by
|
|
Packit |
ae235b |
g_malloc and make sure that snprintf is only used if it implements
|
|
Packit |
ae235b |
C99 return value semantics.
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
Matthias Clasen
|
|
Packit |
ae235b |
November 1, 2003
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|