• Eli Zaretskii's avatar
    Improve doprnt and its use in verror. (Bug#8545) · 825cd63c
    Eli Zaretskii authored
     src/doprnt.c (doprnt): Document the set of format control sequences
     supported by the function.  Use SAFE_ALLOCA instead of always
     using `alloca'.
     src/eval.c (verror): Don't limit the buffer size at size_max-1, that
     is one byte too soon.  Don't use xrealloc; instead xfree and
     xmalloc anew.
    825cd63c
doprnt.c 11.6 KB