rcolebaugh / rpms / bash

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