]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - lib/malloc/malloc.c
commit bash-20130301 snapshot
[thirdparty/bash.git] / lib / malloc / malloc.c
index 1c92ca67b769b7181c88f8028767459904cc7d71..cd987c0dc3b47e9f206c1a24dd5439e91f6ff196 100644 (file)
@@ -562,7 +562,11 @@ morecore (nu)
   /* Block all signals in case we are executed from a signal handler. */
   blocked_sigs = 0;
 #ifdef SHELL
+#  if defined (SIGCHLD)
   if (interrupt_immediately || running_trap || signal_is_trapped (SIGINT) || signal_is_trapped (SIGCHLD))
+#  else
+  if (interrupt_immediately || running_trap || signal_is_trapped (SIGINT))
+#  endif
 #endif
     {
       _malloc_block_signals (&set, &oset);