mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Update.
2001-07-16 Andreas Schwab <schwab@suse.de> * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers. 2001-07-16 Andreas Schwab <schwab@suse.de> * math/libm-test.inc (check_float_internal): Fix sign bit test of infinities. 2001-07-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user