mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-10 05:30:45 -08:00
(create_process_1, sigchld_handler) [POSIX_SIGNALS]:
Don't reestablish handler.
This commit is contained in:
parent
5970a8cba8
commit
3c0ee47b71
1 changed files with 3 additions and 3 deletions
|
|
@ -1177,7 +1177,7 @@ SIGTYPE
|
|||
create_process_1 (signo)
|
||||
int signo;
|
||||
{
|
||||
#ifdef USG
|
||||
#if defined (USG) && !defined (POSIX_SIGNALS)
|
||||
/* USG systems forget handlers when they are used;
|
||||
must reestablish each time */
|
||||
signal (signo, create_process_1);
|
||||
|
|
@ -3371,7 +3371,7 @@ sigchld_handler (signo)
|
|||
|
||||
/* USG systems forget handlers when they are used;
|
||||
must reestablish each time */
|
||||
#ifdef USG
|
||||
#if defined (USG) && !defined (POSIX_SIGNALS)
|
||||
signal (signo, sigchld_handler); /* WARNING - must come after wait3() */
|
||||
#endif
|
||||
#ifdef BSD4_1
|
||||
|
|
@ -3479,7 +3479,7 @@ sigchld_handler (signo)
|
|||
Otherwise (on systems that have WNOHANG), loop around
|
||||
to use up all the processes that have something to tell us. */
|
||||
#if defined (USG) && ! (defined (HPUX) && defined (WNOHANG)) || defined (WINDOWSNT)
|
||||
#ifdef USG
|
||||
#if defined (USG) && ! defined (POSIX_SIGNALS)
|
||||
signal (signo, sigchld_handler);
|
||||
#endif
|
||||
errno = old_errno;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue