Commit Graph
4 Commits
Author SHA1 Message Date
Paul Eggert eafe61c2e5 Add Bruno Haible as maintainer. 2006-08-10 23:23:07 +00:00
Paul Eggert 7e421d1cd6 * modules/snprintf (Depends-on): Remove minmax.
(Maintainer): Add self.
* lib/.cppi-disable: Add snprintf.h, socket_.h.
* lib/snprintf.c: Include <errno.h> and <limits.h>.
(EOVERFLOW): Define if the system does not.
Do not include "minmax.h"; it wasn't used.
(snprintf): Don't assume size_t promotes to an unsigned type.
Fix bug when generated string was too long for the buffer: the
buffer's contents are supposed to be the initial prefix of the
output.  Don't assume vasnprintf returns EOVERFLOW if the size
exceeds INT_MAX; do the check ourselves.
2006-08-10 19:32:38 +00:00
Bruno Haible b757e446f1 Add license field. 2004-10-01 10:19:55 +00:00
Paul Eggert d6fa94ab15 New snprintf module from Simon Josefsson. 2004-09-30 23:29:25 +00:00