]> Savannah Git Hosting - gnulib.git/commit
xprintf, xprintf-posix, xprintf-gnu: Use *zprintf.
authorBruno Haible <bruno@clisp.org>
Wed, 25 Dec 2024 18:13:53 +0000 (19:13 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 25 Dec 2024 18:13:53 +0000 (19:13 +0100)
commitd2ed4c82937a2c3f12f541e8c502e66864794c71
tree2f925ca55633854f7d682620d54861325608caf2
parentf9204fa1f75308e0f64f4bcf55104df26afb22f9
xprintf, xprintf-posix, xprintf-gnu: Use *zprintf.

* lib/xprintf.h (xprintf, xvprintf, xfprintf, xvfprintf): Change return
type to off64_t. Move documentation from xprintf.c to here. Mention
EOVERFLOW as another possible error unrelated to file I/O.
* lib/xprintf.c (xprintf): Change return type to off64_t.
(xvprintf): Likewise. Use vzprintf.
(xfprintf): Change return type to off64_t.
(xvfprintf): Likewise. Use vfzprintf.
* modules/xprintf (Description): Mention also fprintf. Mention EOVERFLOW
as another possible error unrelated to file I/O.
(Depends-on): Add vzprintf, vfzprintf.
* modules/xprintf-posix (Description): Mention also fprintf. Mention
EOVERFLOW as another possible error unrelated to file I/O.
(Depends-on): Add vzprintf-posix, vfzprintf-posix. Remove vprintf-posix,
vfprintf-posix.
* modules/xprintf-gnu (Description): Mention also fprintf. Mention
EOVERFLOW as another possible error unrelated to file I/O.
(Depends-on): Add vzprintf-gnu, vfzprintf-gnu. Remove vprintf-gnu,
vfprintf-gnu.
* tests/test-xprintf-posix.c (RETTYPE): Change to off64_t.
* tests/test-xfprintf-posix.c (RETTYPE): Likewise.
* NEWS: Document the change.
ChangeLog
NEWS
lib/xprintf.c
lib/xprintf.h
modules/xprintf
modules/xprintf-gnu
modules/xprintf-posix
tests/test-xfprintf-posix.c
tests/test-xprintf-posix.c