aboutsummaryrefslogtreecommitdiffstats
path: root/lib/vasnprintf.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2007-05-31Pull printf-related code from gnulib, rather than using forked copy.Jim Meyering1-935/+0
* bootstrap.conf (gnulib_modules): Don't avoid size_max and xsize modules. While I dislike xsize-style overflow avoidance, maintaining a forked version of e.g., vasnprintf.c was too much work. * lib/printf-parse.c, lib/vasnprintf.c, lib/unicodeio.c: Remove local copies, so we now get these files from gnulib.
2007-03-20Fix a typo in the handling of %x and %X.Jim Meyering1-2/+3
* vasnprintf.c (VASNPRINTF): When adding 2 to buffer length, don't double it.
2007-03-04* vasnprintf.c (VASNPRINTF): Add missing semicolon.Jim Meyering1-1/+1
2007-03-02* vasnprintf.c (VASNPRINTF): Remove cast of alloca return value.Jim Meyering1-1/+1
2007-03-01Merge in changes from gnulib:Jim Meyering1-29/+45
* vasnprintf.c: Add a comment explaining why coreutils has its own version of this file. Include <stdint.h>. (SIZE_MAX): Remove definition (now, stdint.h covers that). (EOVERFLOW): Remove definition (now done via the eoverflow module). Update some #ifdef to #if. Use HAVE_LONG_LONG_INT, not HAVE_LONG_LONG. * printf-parse.c: Likewise.
2006-08-26Include <config.h> unconditionally, since we now assume config.h exists.Paul Eggert1-3/+2
2006-02-14Sync from gnulib.Paul Eggert1-22/+26
2005-05-14Update FSF postal mail address.Jim Meyering1-1/+1
2005-03-21Sync from gnulib.Paul Eggert1-0/+5
2005-02-26(VASNPRINTF) [!USE_SNPRINTF]: Correct the test forPaul Eggert1-1/+1
integer overflow again. Actually, neither this nor the 2005-01-23 change fixes any bug on any plausible platform; it's more of a code-clarity thing.
2005-02-07(vasnprintf) [!USE_SNPRINTF]: Correct the test for integer overflow.Jim Meyering1-3/+4
2004-10-04Sync from gnulib.Paul Eggert1-1/+12
2004-08-05Sync from gnulib.Paul Eggert1-127/+225
2003-10-19(vasnprintf): Work around losing snprintf on e.g. HPUX 10.20.Jim Meyering1-0/+16
2003-08-18Sync with gnulib.Jim Meyering1-10/+27
2003-07-10Now that a program (`who') uses asprintf, we need all of these:Jim Meyering1-0/+767
* asnprintf.c, asprintf.c, printf-args.c, printf-args.h, printf-parse.c: * printf-parse.h, vasnprintf.c, vasnprintf.h, vasprintf.c, vasprintf.h: New files, from gnulib.