1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

Guard against vsnprintf implementations that mishandle a size=0 argument.

This commit is contained in:
Bruno Haible
2007-04-29 15:40:30 +00:00
parent b7143ceeb4
commit f227e78a14
8 changed files with 189 additions and 37 deletions

View File

@@ -1,14 +1,17 @@
Files:
tests/test-snprintf-posix.c
tests/test-snprintf-posix.h
tests/test-snprintf.c
Depends-on:
stdint
configure.ac:
AC_DEFINE([CHECK_SNPRINTF_POSIX], 1,
[Define to 1 for strict checking in test-snprintf.c.])
Makefile.am:
TESTS += test-snprintf-posix
check_PROGRAMS += test-snprintf-posix
TESTS += test-snprintf-posix test-snprintf
check_PROGRAMS += test-snprintf-posix test-snprintf
EXTRA_DIST += test-snprintf-posix.h