Improve doprnt and its use in verror. (Bug#8545)
commit825cd63ca98121d602b4a8dcffa55d29841224a0
authorEli Zaretskii <eliz@gnu.org>
Mon, 25 Apr 2011 08:04:22 +0000 (25 11:04 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 25 Apr 2011 08:04:22 +0000 (25 11:04 +0300)
tree0ecfbd1149dd944fb7b77132ef8ef0c6201d9180
parente2822bd2ea32c577342b9618a301f8661551f7a3
Improve doprnt and its use in verror.  (Bug#8545)

 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.
src/ChangeLog
src/doprnt.c
src/eval.c