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