* libamu/xutil.c (xsnprintf): if vsnprintf truncated the output
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 7 Aug 2005 01:25:33 +0000 (01:25 +0000)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 7 Aug 2005 01:25:33 +0000 (01:25 +0000)
commit4751b00703853bf932c0e234450f87d9e4dfc0ea
treec634fe1b2b45ff79b51673c7a1fd14efec104e83
parentcd2f906f12aa7c83298d6ebb9f1a3bc65cd8018e
* libamu/xutil.c (xsnprintf): if vsnprintf truncated the output
string to avoid an overflow, print an error.  Include some code to
break out any possible infinite loop between plog() and
xsnprintf().
(real_plog): now we can use (carefully) xsnprintf() directly.
ChangeLog
libamu/strutil.c
libamu/xutil.c