From 4fcddf8e57fa96dcf8759d95b5e427bd0cff69b5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 26 Mar 2000 18:48:26 +0000 Subject: Update. 2000-03-24 Andreas Jaeger * Makefile (postclean): Added soversions.i. 2000-03-24 Scott Bambrough * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM, _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT, and _FPU_IEEE. Change _FPU_RESERVED. 2000-03-24 Scott Bambrough * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file. 2000-03-24 Roland McGrath * sysdeps/posix/getaddrinfo.c: Include for if_nametoindex. (gaih_inet): Remove unused duplicate variable. * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN. Don't use __libc_sa_len, which only exists for Linux. Just handle AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the only flavors supported by this function anyway. 2000-03-24 Geoff Clare * stdlib/strfmon.c: corrected problems with missing signs and missing or extra spaces; allow for sign strings longer than one character; add padding to ensure positive and negative formats are aligned when a left precision is used. 2000-03-26 Ulrich Drepper * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4. Patch by John Mizel . --- stdlib/random_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/random_r.c') diff --git a/stdlib/random_r.c b/stdlib/random_r.c index 9a74451cc6..27573b3b05 100644 --- a/stdlib/random_r.c +++ b/stdlib/random_r.c @@ -285,7 +285,7 @@ __setstate_r (arg_state, buf) old_state[-1] = (MAX_TYPES * (buf->rptr - old_state)) + old_type; type = new_state[0] % MAX_TYPES; - if (type < TYPE_0 || type >= TYPE_4) + if (type < TYPE_0 || type > TYPE_4) goto fail; buf->rand_deg = degree = random_poly_info.degrees[type]; -- cgit v1.2.3