bash-4.2-016.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 4.2
  4. Patch-ID: bash42-016
  5. Bug-Reported-by: Martin von Gagern <Martin.vGagern@gmx.net>
  6. Bug-Reference-ID: <4E43AD9E.8060501@gmx.net>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-08/msg00141.html
  8. Bug-Description:
  9. Bash should not check for mail while executing the `eval' builtin.
  10. Patch (apply with `patch -p0'):
  11. *** ../bash-4.2-patched/parse.y Fri Feb 25 12:07:41 2011
  12. --- ./parse.y Thu Aug 11 19:02:26 2011
  13. ***************
  14. *** 2500,2504 ****
  15. is the mail alarm reset; nothing takes place in check_mail ()
  16. except the checking of mail. Please don't change this. */
  17. ! if (prompt_is_ps1 && time_to_check_mail ())
  18. {
  19. check_mail ();
  20. --- 2498,2502 ----
  21. is the mail alarm reset; nothing takes place in check_mail ()
  22. except the checking of mail. Please don't change this. */
  23. ! if (prompt_is_ps1 && parse_and_execute_level == 0 && time_to_check_mail ())
  24. {
  25. check_mail ();
  26. *** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
  27. --- ./patchlevel.h Thu Feb 24 21:41:34 2011
  28. ***************
  29. *** 26,30 ****
  30. looks for to find the patch level (for the sccs version string). */
  31. ! #define PATCHLEVEL 15
  32. #endif /* _PATCHLEVEL_H_ */
  33. --- 26,30 ----
  34. looks for to find the patch level (for the sccs version string). */
  35. ! #define PATCHLEVEL 16
  36. #endif /* _PATCHLEVEL_H_ */