* libc/signal/signal.c (_raise_r): Don't attempt to initialize the
signal table, just use a default, in case initialization cause recursion.
This commit is contained in:
parent
6eedb2be6d
commit
69bfb481a8
|
@ -1,3 +1,9 @@
|
|||
2007-10-31 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* libc/signal/signal.c (_raise_r): Don't attempt to initialize the
|
||||
signal table, just use a default, in case initialization cause
|
||||
recursion.
|
||||
|
||||
2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
|
||||
|
|
|
@ -154,10 +154,11 @@ _DEFUN (_raise_r, (ptr, sig),
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (ptr->_sig_func == NULL && _init_signal_r (ptr) != 0)
|
||||
return -1;
|
||||
|
||||
func = ptr->_sig_func[sig];
|
||||
if (ptr->_sig_func == NULL)
|
||||
func = SIG_DFL;
|
||||
else
|
||||
func = ptr->_sig_func[sig];
|
||||
|
||||
if (func == SIG_DFL)
|
||||
return _kill_r (ptr, _getpid_r (ptr), sig);
|
||||
else if (func == SIG_IGN)
|
||||
|
|
Loading…
Reference in New Issue