psss / rpms / bash

Forked from rpms/bash 6 years ago
Clone
393b612
			     BASH PATCH REPORT
393b612
			     =================
393b612
393b612
Bash-Release: 3.2
393b612
Patch-ID: bash32-001
393b612
393b612
Bug-Reported-by:	Greg Schafer <gschafer@zip.com.au>
393b612
Bug-Reference-ID:	<20061012084940.GA15768@tigers.local>
393b612
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2006-10/msg00046.html
393b612
393b612
Bug-Description:
393b612
393b612
When using historical ``-style command substitution, bash incorrectly attempts
393b612
to interpret shell comments while scanning for the closing backquote.
393b612
393b612
Patch:
393b612
393b612
*** ../bash-3.2/parse.y	Tue Sep 19 16:37:21 2006
393b612
--- parse.y	Thu Oct 12 10:30:57 2006
393b612
***************
393b612
*** 2736,2740 ****
393b612
    count = 1;
393b612
    pass_next_character = backq_backslash = was_dollar = in_comment = 0;
393b612
!   check_comment = (flags & P_COMMAND) && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0;
393b612
  
393b612
    /* RFLAGS is the set of flags we want to pass to recursive calls. */
393b612
--- 2736,2740 ----
393b612
    count = 1;
393b612
    pass_next_character = backq_backslash = was_dollar = in_comment = 0;
393b612
!   check_comment = (flags & P_COMMAND) && qc != '`' && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0;
393b612
  
393b612
    /* RFLAGS is the set of flags we want to pass to recursive calls. */
393b612
*** ../bash-3.2/patchlevel.h	Thu Apr 13 08:31:04 2006
393b612
--- patchlevel.h	Mon Oct 16 14:22:54 2006
393b612
***************
393b612
*** 26,30 ****
393b612
     looks for to find the patch level (for the sccs version string). */
393b612
  
393b612
! #define PATCHLEVEL 0
393b612
  
393b612
  #endif /* _PATCHLEVEL_H_ */
393b612
--- 26,30 ----
393b612
     looks for to find the patch level (for the sccs version string). */
393b612
  
393b612
! #define PATCHLEVEL 1
393b612
  
393b612
  #endif /* _PATCHLEVEL_H_ */