]> The Tcpdump Group git mirrors - tcpdump/commit
Require a proof of suitable snprintf(3) implementation. 1031/head
authorDenis Ovsienko <[email protected]>
Mon, 30 Jan 2023 20:31:20 +0000 (20:31 +0000)
committerDenis Ovsienko <[email protected]>
Thu, 16 Feb 2023 20:55:56 +0000 (20:55 +0000)
commite03799cb9f1ee42de960e7d188ff47ae9ad7109d
tree6b11d0816b5d6cf4ff4b67a8176f43917afd3399
parentefc775d05163ac3591b30341ca944007fdc5753a
Require a proof of suitable snprintf(3) implementation.

My earlier commit fbd4415 did a wrong thing because it caused a failure
to fail in "make check" on Solaris 9, whereas the right thing to do when
printf() does not work as expected would be to fail the build with a
useful error message.   Implement that by testing snprintf() in Autoconf
and CMake (assume that in a given libc implementation all functions in
the printf() family have the same level of support for conversion
specifications).  Return 18 tests from the conditional space back into
TESTLIST.
CHANGES
CMakeLists.txt
configure.ac
doc/README.solaris.md
tests/TESTLIST
tests/printf_z.tests [deleted file]