Avoid snprintf

* gnulib.modules: Remove snprintf.
* lib/wordsplit.c (wordsplit_pathexpand):
Do not arbitrarily truncate diagnostic.
(wordsplit_c_quote_copy): Rewrite to avoid the need to
invoke snprintf on a temporary buffer.
This commit is contained in:
Paul Eggert
2024-08-04 01:37:07 -07:00
parent 5316938142
commit a80f364662
2 changed files with 18 additions and 21 deletions

View File

@@ -96,7 +96,6 @@ safe-read
savedir
selinux-at
setenv
snprintf
stat-time
std-gnu23
stdbool