about summary refs log tree commit diff
path: root/sysdeps/posix/spawni.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-16 21:31:43 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-16 21:31:43 +0000
commitba3752d5322448ab54b71c82e63a09542042a3b6 (patch)
tree7d0abe72b771849f27327fbbeb08c2260662e0a3 /sysdeps/posix/spawni.c
parent778e0ef71de6430ca6af4410453e675bd96b040f (diff)
downloadglibc-ba3752d5322448ab54b71c82e63a09542042a3b6.tar.gz
glibc-ba3752d5322448ab54b71c82e63a09542042a3b6.tar.xz
glibc-ba3752d5322448ab54b71c82e63a09542042a3b6.zip
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.
Diffstat (limited to 'sysdeps/posix/spawni.c')
-rw-r--r--sysdeps/posix/spawni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/spawni.c b/sysdeps/posix/spawni.c
index a1f3ac155b..330f2192a7 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);