diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-09-10 00:22:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-10 00:22:47 +0000 |
commit | e2afec6642b8de0d57d8b55054b3bc8b0e790240 (patch) | |
tree | a8c4443d1e469cd7cd082db603cbf943eefc473a /app-shells/bash/files/bash-4.0-debug-trap-jobs.patch | |
parent | Version bump #284286 by BobCaTT. (diff) | |
download | gentoo-2-e2afec6642b8de0d57d8b55054b3bc8b0e790240.tar.gz gentoo-2-e2afec6642b8de0d57d8b55054b3bc8b0e790240.tar.bz2 gentoo-2-e2afec6642b8de0d57d8b55054b3bc8b0e790240.zip |
old
Diffstat (limited to 'app-shells/bash/files/bash-4.0-debug-trap-jobs.patch')
-rw-r--r-- | app-shells/bash/files/bash-4.0-debug-trap-jobs.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/app-shells/bash/files/bash-4.0-debug-trap-jobs.patch b/app-shells/bash/files/bash-4.0-debug-trap-jobs.patch deleted file mode 100644 index facae42aa85e..000000000000 --- a/app-shells/bash/files/bash-4.0-debug-trap-jobs.patch +++ /dev/null @@ -1,44 +0,0 @@ -*** ../bash-4.0-patched/jobs.c 2009-01-29 17:09:49.000000000 -0500 ---- jobs.c 2009-04-11 15:14:27.000000000 -0400 -*************** -*** 443,447 **** - the_pipeline = saved_pipeline; - already_making_children = saved_already_making_children; -! if (discard) - discard_pipeline (old_pipeline); - } ---- 443,447 ---- - the_pipeline = saved_pipeline; - already_making_children = saved_already_making_children; -! if (discard && old_pipeline) - discard_pipeline (old_pipeline); - } -*** ../bash-4.0-patched/trap.c 2009-01-16 17:07:53.000000000 -0500 ---- trap.c 2009-04-11 15:11:58.000000000 -0400 -*************** -*** 799,802 **** ---- 799,803 ---- - { - int trap_exit_value; -+ pid_t save_pgrp; - - /* XXX - question: should the DEBUG trap inherit the RETURN trap? */ -*************** -*** 804,808 **** ---- 805,820 ---- - if ((sigmodes[DEBUG_TRAP] & SIG_TRAPPED) && ((sigmodes[DEBUG_TRAP] & SIG_IGNORED) == 0) && ((sigmodes[DEBUG_TRAP] & SIG_INPROGRESS) == 0)) - { -+ #if defined (JOB_CONTROL) -+ save_pgrp = pipeline_pgrp; -+ pipeline_pgrp = shell_pgrp; -+ save_pipeline (1); -+ stop_making_children (); -+ #endif - trap_exit_value = _run_trap_internal (DEBUG_TRAP, "debug trap"); -+ #if defined (JOB_CONTROL) -+ pipeline_pgrp = save_pgrp; -+ restore_pipeline (1); -+ notify_and_cleanup (); -+ #endif - - #if defined (DEBUGGER) |