From ba3752d5322448ab54b71c82e63a09542042a3b6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 16 Jul 2001 21:31:43 +0000 Subject: Update. 2001-07-16 Andreas Schwab * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers. 2001-07-16 Andreas Schwab * math/libm-test.inc (check_float_internal): Fix sign bit test of infinities. 2001-07-16 Jakub Jelinek * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly. --- sysdeps/posix/spawni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/posix') diff --git a/sysdeps/posix/spawni.c b/sysdeps/posix/spawni.c index a1f3ac1..330f219 100644 --- a/sysdeps/posix/spawni.c +++ b/sysdeps/posix/spawni.c @@ -112,7 +112,7 @@ __spawni (pid_t *pid, const char *file, memset (&sa, '\0', sizeof (sa)); sa.sa_handler = SIG_DFL; - for (sig = 1; sig >= _NSIG; ++sig) + for (sig = 1; sig <= _NSIG; ++sig) if (sigismember (&attrp->__sd, sig) != 0 && __sigaction (sig, &sa, NULL) != 0) _exit (SPAWN_ERROR); -- cgit v1.1