]> Savannah Git Hosting - gnulib.git/commit
vasprintf: Make return convention consistent with other modules.
authorBruno Haible <bruno@clisp.org>
Sat, 22 Jun 2024 10:17:10 +0000 (12:17 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 22 Jun 2024 10:17:44 +0000 (12:17 +0200)
commit134cfb88c06b0a427f3b4c60acb664c9cc5ec2d9
treeb8970d9976952e7e259085265a9de66bbcd39e1d
parentcf5774e94a80589b8fd92fd7166dea82c925cfcc
vasprintf: Make return convention consistent with other modules.

* lib/vasprintf.c: Include <stdint.h>.
(vasprintf): If the length is > PTRDIFF_MAX, fail with ENOMEM, not
EOVERFLOW.
* modules/vasprintf (Depends-on): Add stdint.
ChangeLog
lib/vasprintf.c
modules/vasprintf