mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-06 22:40:36 +08:00
* 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>
|
2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
|
* libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
|
||||||
|
@ -154,10 +154,11 @@ _DEFUN (_raise_r, (ptr, sig),
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ptr->_sig_func == NULL && _init_signal_r (ptr) != 0)
|
if (ptr->_sig_func == NULL)
|
||||||
return -1;
|
func = SIG_DFL;
|
||||||
|
else
|
||||||
func = ptr->_sig_func[sig];
|
func = ptr->_sig_func[sig];
|
||||||
|
|
||||||
if (func == SIG_DFL)
|
if (func == SIG_DFL)
|
||||||
return _kill_r (ptr, _getpid_r (ptr), sig);
|
return _kill_r (ptr, _getpid_r (ptr), sig);
|
||||||
else if (func == SIG_IGN)
|
else if (func == SIG_IGN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user