From 479e9b3f2135707d4bfd13bf6c2ad1a242ea6cfc Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 15 Apr 1998 10:15:16 +0000 Subject: Update. 1998-04-15 Ulrich Drepper * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in last change. 1998-04-14 Andreas Schwab * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix return value on overflow. 1998-04-14 Andreas Schwab * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64 bits. 1998-04-14 Andreas Schwab * malloc/mtrace.c (mtrace): Use standard function setvbuf instead of non-standard function setbuffer. 1998-04-15 Andreas Jaeger * stdio-common/perror.c: Include for __strerror_r. --- sysdeps/posix/mkstemp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/posix') diff --git a/sysdeps/posix/mkstemp.c b/sysdeps/posix/mkstemp.c index 3d8be9cc9c..f0db5d5d53 100644 --- a/sysdeps/posix/mkstemp.c +++ b/sysdeps/posix/mkstemp.c @@ -35,7 +35,7 @@ mkstemp (template) { static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; - static uint32_t value; + static uint64_t value; struct timeval tv; char *XXXXXX; size_t len; @@ -57,7 +57,7 @@ mkstemp (template) for (count = 0; count < TMP_MAX; ++count) { - uint32_t v = value; + uint64_t v = value; int fd; /* Fill in the random bits. */ -- cgit 1.4.1