You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB

  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 4.3
  4. Patch-ID: bash43-012
  5. Bug-Reported-by: Eduardo A. Bustamante López<dualbus@gmail.com>
  6. Bug-Reference-ID: <5346B54C.4070205@case.edu>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-04/msg00051.html
  8. Bug-Description:
  9. When a SIGCHLD trap runs a command containing a shell builtin while
  10. a script is running `wait' to wait for all running children to complete,
  11. the SIGCHLD trap will not be run once for each child that terminates.
  12. Patch (apply with `patch -p0'):
  13. --- a/jobs.c
  14. +++ b/jobs.c
  15. @@ -3597,6 +3597,7 @@ run_sigchld_trap (nchild)
  16. unwind_protect_int (jobs_list_frozen);
  17. unwind_protect_pointer (the_pipeline);
  18. unwind_protect_pointer (subst_assign_varlist);
  19. + unwind_protect_pointer (this_shell_builtin);
  20. /* We have to add the commands this way because they will be run
  21. in reverse order of adding. We don't want maybe_set_sigchld_trap ()
  22. --- a/patchlevel.h
  23. +++ b/patchlevel.h
  24. @@ -25,6 +25,6 @@
  25. regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
  26. looks for to find the patch level (for the sccs version string). */
  27. -#define PATCHLEVEL 11
  28. +#define PATCHLEVEL 12
  29. #endif /* _PATCHLEVEL_H_ */