svashisht / rpms / bash

Forked from rpms/bash 4 years ago
Clone

Blame SOURCES/bash42-016

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