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