summaryrefslogtreecommitdiff
path: root/modules/strfmon_l
Commit message (Collapse)AuthorAgeFilesLines
* strfmon_l: Fix test failures on FreeBSD and Cygwin.Bruno Haible2019-12-221-0/+2
| | | | | | | | * m4/strfmon_l.m4 (gl_FUNC_STRFMON_L): Require gt_LOCALE_FR_UTF8. Add an AC_RUN_IFELSE test. * modules/strfmon_l (Files): Add locale-fr.m4, codeset.m4. * doc/posix-functions/strfmon_l.texi: Mention the FreeBSD and Cygwin problem.
* strfmon_l: Fix -fsanitize=address finding.Bruno Haible2019-03-091-0/+1
| | | | | | | | | | | | * lib/strfmon_l.c: Include <errno.h>, <stdbool.h>, <stdlib.h>, <string.h>. (MAX_ARGS): Renamed from MAX_ARG_WORDS. (directive_t, directives_t): New types. (fmon_parse): New function. (rpl_strfmon_l): Don't call va_arg more often than needed for the format string. Consume 'long double' arguments in places where the format string indicates so. * modules/strfmon_l (Depends-on): Add 'stdbool'.
* strfmon_l: New module.Bruno Haible2017-09-231-0/+31
* modules/strfmon_l: New file. * lib/strfmon_l.c: New file. * m4/strfmon_l.m4: New file. * doc/posix-functions/strfmon_l.texi: Mention the new module. * modules/strfmon_l-tests: New file. * tests/test-strfmon_l.c: New file.