mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
Reported by Pádraig Brady. * lib/vasnprintf.c (grouping_rule, num_thousands_separators): New functions. (MAX_ROOM_NEEDED): Adjust worst-case guess for FLAG_GROUP. (VASNPRINTF): Likewise. Invoke grouping_rule, num_thousands_separators. Use the grouping rule to determine where to insert the thousands separators. * modules/vasnprintf (Depends-on): Add localeconv. * modules/vasnwprintf (Depends-on): Likewise. * modules/c-vasnprintf (Depends-on): Likewise. * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise. * modules/unistdio/u8-vasnprintf (Depends-on): Likewise. * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise. * modules/unistdio/u16-vasnprintf (Depends-on): Likewise. * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise. * modules/unistdio/u32-vasnprintf (Depends-on): Likewise. * modules/unistdio/ulc-vasnprintf (Depends-on): Likewise.
53 lines
624 B
Plaintext
53 lines
624 B
Plaintext
Description:
|
|
vsprintf with automatic memory allocation and bounded output size.
|
|
|
|
Files:
|
|
lib/float+.h
|
|
lib/printf-args.h
|
|
lib/printf-args.c
|
|
lib/printf-parse.h
|
|
lib/printf-parse.c
|
|
lib/vasnprintf.h
|
|
lib/vasnprintf.c
|
|
lib/asnprintf.c
|
|
m4/wint_t.m4
|
|
m4/intmax_t.m4
|
|
m4/stdint_h.m4
|
|
m4/inttypes_h.m4
|
|
m4/vasnprintf.m4
|
|
m4/printf.m4
|
|
m4/math_h.m4
|
|
m4/exponentd.m4
|
|
|
|
Depends-on:
|
|
stdio-h
|
|
alloca-opt
|
|
attribute
|
|
float-h
|
|
free-posix
|
|
limits-h
|
|
stdint-h
|
|
xsize
|
|
errno-h
|
|
localeconv
|
|
memchr
|
|
assert-h
|
|
wchar-h
|
|
mbszero
|
|
mbsnlen
|
|
|
|
configure.ac:
|
|
AC_REQUIRE([AC_C_RESTRICT])
|
|
gl_FUNC_VASNPRINTF
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
"vasnprintf.h"
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|