~ubuntu-branches/debian/sid/bash/sid

« back to all changes in this revision

Viewing changes to jobs.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-01-28 17:05:00 UTC
  • Revision ID: package-import@ubuntu.com-20150128170500-f3gxb971i30og3ym
Tags: 4.3-12
* Apply upstream patches 031 - 033.
* Add a Built-Using attribute for bash-static. Closes: #769342.
* Move definition of the macro "FN" out of the region of the "ig"
  macro.  Define macros and registers "zZ" and "zY". Closes: #774597.
* Also set color prompt for *-256color terminals. Closes: #766443.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3339
3339
      if (posixly_correct && this_shell_builtin && this_shell_builtin == wait_builtin)
3340
3340
        {
3341
3341
          interrupt_immediately = 0;
3342
 
          trap_handler (SIGCHLD);       /* set pending_traps[SIGCHLD] */
 
3342
          /* This was trap_handler (SIGCHLD) but that can lose traps if
 
3343
             children_exited > 1 */
 
3344
          queue_sigchld_trap (children_exited);
3343
3345
          wait_signal_received = SIGCHLD;
3344
3346
          /* If we're in a signal handler, let CHECK_WAIT_INTR pick it up;
3345
3347
             run_pending_traps will call run_sigchld_trap later  */