bash31-008 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.1
  4. Patch-ID: bash31-008
  5. Bug-Reported-by: Ingemar Nilsson <init@kth.se>
  6. Bug-Reference-ID: <43C38D35.7020404@kth.se>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00044.html
  8. Bug-Description:
  9. In some cases, bash inappropriately allows SIGINT from the terminal to
  10. reach background processes.
  11. Patch:
  12. *** bash-3.1/jobs.c Fri Nov 11 23:13:27 2005
  13. --- bash-3.1/jobs.c Wed Feb 1 13:55:38 2006
  14. ***************
  15. *** 2199,2203 ****
  16. wait_sigint_received = 0;
  17. if (job_control == 0)
  18. ! old_sigint_handler = set_signal_handler (SIGINT, wait_sigint_handler);
  19. termination_state = last_command_exit_value;
  20. --- 2298,2306 ----
  21. wait_sigint_received = 0;
  22. if (job_control == 0)
  23. ! {
  24. ! old_sigint_handler = set_signal_handler (SIGINT, wait_sigint_handler);
  25. ! if (old_sigint_handler == SIG_IGN)
  26. ! set_signal_handler (SIGINT, old_sigint_handler);
  27. ! }
  28. termination_state = last_command_exit_value;
  29. *** bash-3.1/patchlevel.h Wed Jul 20 13:58:20 2005
  30. --- bash-3.1/patchlevel.h Wed Dec 7 13:48:42 2005
  31. ***************
  32. *** 26,30 ****
  33. looks for to find the patch level (for the sccs version string). */
  34. ! #define PATCHLEVEL 7
  35. #endif /* _PATCHLEVEL_H_ */
  36. --- 26,30 ----
  37. looks for to find the patch level (for the sccs version string). */
  38. ! #define PATCHLEVEL 8
  39. #endif /* _PATCHLEVEL_H_ */