[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vasnprintf: some tweaks
From: |
Bruno Haible |
Subject: |
vasnprintf: some tweaks |
Date: |
Wed, 19 Jun 2024 20:38:45 +0200 |
Three small tweaks of the *vasnprintf code:
2024-06-19 Bruno Haible <bruno@clisp.org>
vasnwprintf: Optimize handling of %c directive.
* lib/vasnprintf.c (VASNPRINTF): Use a single ENSURE_ALLOCATION instead
of two.
2024-06-19 Bruno Haible <bruno@clisp.org>
u*-vasnprintf: Fix a rare memory leak.
* lib/vasnprintf.c (VASNPRINTF): Use ENSURE_ALLOCATION_ELSE instead of
ENSURE_ALLOCATION, to free temporary allocations before failing due to
out-of-memory.
2024-06-19 Bruno Haible <bruno@clisp.org>
u*-vasnprintf: Improve comments.
* lib/vasnprintf.c (VASNPRINTF): Improve comments.
0001-u-vasnprintf-Improve-comments.patch
Description: Text Data
0002-u-vasnprintf-Fix-a-rare-memory-leak.patch
Description: Text Data
0003-vasnwprintf-Optimize-handling-of-c-directive.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- vasnprintf: some tweaks,
Bruno Haible <=