diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-10 19:32:38 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-10 19:32:38 +0000 |
commit | 7e421d1cd6a8752aa527895c759a72a47203959a (patch) | |
tree | 1d9add3f2e88489efb21cd0ceb6a839444908e67 /lib/.cppi-disable | |
parent | c2d099ba2d0f3e12493df3fdd1b9ec4dfc33df83 (diff) | |
download | gnulib-7e421d1cd6a8752aa527895c759a72a47203959a.tar.gz |
* 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.
Diffstat (limited to 'lib/.cppi-disable')
-rw-r--r-- | lib/.cppi-disable | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/.cppi-disable b/lib/.cppi-disable index 7106f0cbc7..049783935f 100644 --- a/lib/.cppi-disable +++ b/lib/.cppi-disable @@ -29,6 +29,8 @@ regex.c regex.h regex_internal.c regex_internal.h +snprintf.h +socket_.h stat-time.h stdbool_.h stdint_.h |