mescc: vsnprintf: Compliant implementation.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 22 Oct 2018 16:33:40 +0000 (18:33 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 22 Oct 2018 16:33:40 +0000 (18:33 +0200)
commit3d528b0257db0aa0385a3162698a7c6df0f83c88
tree2c4b285f87abca7eb8776a51475945b4fded7c07
parent5d8e44de2c4f025ece1df34e374f7fc4d8cb009f
mescc: vsnprintf: Compliant implementation.

* lib/stdio/vsnprintf.c (vsnprintf): New, complient implementation,
replacing vsnprint.
* lib/stdio/vsprintf.c (vsnprint): Forward to vsnprint.
* lib/stdio/snprintf.c (snprintf): Likewise.
* scaffold/tests/9a-snprintf.c: Test it.
* build-aux/check-mescc.sh (tests): Run it.
build-aux/check-mescc.sh
lib/stdio/snprintf.c
lib/stdio/vsnprintf.c
lib/stdio/vsprintf.c
scaffold/tests/9a-snprintf.c [new file with mode: 0644]