lib/printf-args.h


Log

Author Commit Date CI Message
Bruno Haible 8c6ae0f8 2011-02-04T19:22:43 vasnprintf: Reduce use of malloc for small format strings. * lib/printf-args.h (N_DIRECT_ALLOC_ARGUMENTS): New macro. (arguments): Add room for the first 7 arguments. * lib/printf-parse.h (N_DIRECT_ALLOC_DIRECTIVES): New macro. (char_directives, u8_directives, u16_directives, u32_directives): Add room for the first 7 directives. * lib/printf-parse.c: Include <string.h>. (PRINTF_PARSE): Change memory handling code so that it uses the first 7 preallocated elements in an 'arguments' or 'DIRECTIVES' struct. * lib/vasnprintf.c (VASNPRINTF): Update memory handling code. Reported by Pádraig Brady <P@draigbrady.com>.
Jim Meyering d60f3b0c 2011-01-01T20:17:23 maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
Jim Meyering b2e2010c 2010-01-01T10:31:12 update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
Jim Meyering 3030c5b5 2009-12-28T10:50:36 update nearly all FSF copyright year lists to include 2009 The files named by the following are exempted: grep -v '^#' config/srclist.txt|grep -v '^$' \ | while read src dst; do test -f "$dst" && { echo "$dst"; continue; } test -d "$dst" || continue echo "$dst"/$(basename "$src") done > exempt git ls-files tests/unictype >> exempt In the remaining files, convert to all-interval notation if - there is already at least one year interval like 2000-2003 - the file is maintained by me - the file is in lib/uni*/, where that style already prevails Otherwise, use update-copyright's default.
Bruno Haible 441aa304 2009-12-10T20:28:30 Use spaces for indentation, not tabs.
Bruno Haible cce88f34 2007-06-11T01:10:07 Add support for Unicode strings (both as output format and as arguments to the %U directive).
Bruno Haible 9f88c0b0 2007-04-06T14:36:56 Assume 'long double' exists.
Bruno Haible ac5d57a6 2007-01-30T01:07:22 Stylistic change: Use '#if HAVE_*' instead of '#ifdef HAVE_*'.
Bruno Haible cfc2c6ca 2006-10-11T16:09:38 Use HAVE_LONG_LONG_INT instead of HAVE_LONG_LONG.
Paul Eggert 267a39ba 2005-05-14T06:03:57 *** empty log message ***
Bruno Haible a416aa56 2003-11-17T15:14:21 Use xsize.h to protect against memory size overflows.
Paul Eggert 757bd39e 2003-07-14T22:44:04 Update gettext source files from gettext automatically, using srclist-update.
Bruno Haible 87b04f99 2003-01-30T13:48:21 New modules vasnprintf and vasprintf.