From 2c41e781945c57d170b41205a4af3acefa5cc85c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Tue, 2 Jul 2013 14:46:43 +0200 Subject: [PATCH] * process.c (handle_child_signal): Call catch_child_signal if NS_IMPL_GNUSTEP. --- src/ChangeLog | 5 +++++ src/process.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 13a9162caab..d5907c64942 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-07-02 Jan Djärv + + * process.c (handle_child_signal): Call catch_child_signal if + NS_IMPL_GNUSTEP. + 2013-07-02 Paul Eggert Don't convert function pointers to void * and back. diff --git a/src/process.c b/src/process.c index 5fe07a9c4fa..9961697e671 100644 --- a/src/process.c +++ b/src/process.c @@ -6210,6 +6210,11 @@ handle_child_signal (int sig) } lib_child_handler (sig); +#ifdef NS_IMPL_GNUSTEP + /* NSTask in GNUStep sets its child handler each time it is called. + So we must re-set ours. */ + catch_child_signal(); +#endif } static void -- 2.39.2