rcolebaugh / rpms / bash

Forked from rpms/bash a year ago
Clone
07a490
			     BASH PATCH REPORT
07a490
			     =================
07a490
07a490
Bash-Release:	4.2
07a490
Patch-ID:	bash42-042
07a490
07a490
Bug-Reported-by:	Adam Pippin <adam@gp-inc.ca>
07a490
Bug-Reference-ID:	<CAPYbNHr6ucZFOoWsRdUJj6KP3Ju0j1bkESa_cmb7iU+kZwdVpg@mail.gmail.com>
07a490
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2012-11/msg00087.html
07a490
07a490
Bug-Description:
07a490
07a490
Compilation failed after specifying the  `--enable-minimal-config' option to
07a490
configure (more specifically, specifying `--disable-alias').
07a490
07a490
Patch (apply with `patch -p0'):
07a490
07a490
*** ../bash-4.2-patched/parse.y	2012-07-08 21:53:33.000000000 -0400
07a490
--- parse.y	2012-10-14 20:20:34.000000000 -0400
07a490
***************
07a490
*** 2394,2397 ****
07a490
--- 2392,2396 ----
07a490
  	   to consume the quoted newline and move to the next character in
07a490
  	   the expansion. */
07a490
+ #if defined (ALIAS)
07a490
  	if (expanding_alias () && shell_input_line[shell_input_line_index+1] == '\0')
07a490
  	  {
07a490
***************
07a490
*** 2404,2408 ****
07a490
  	    goto next_alias_char;	/* and get next character */
07a490
  	  }
07a490
! 	else	    
07a490
  	  goto restart_read;
07a490
      }
07a490
--- 2403,2408 ----
07a490
  	    goto next_alias_char;	/* and get next character */
07a490
  	  }
07a490
! 	else
07a490
! #endif 
07a490
  	  goto restart_read;
07a490
      }
07a490
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 41
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 42
07a490
  
07a490
  #endif /* _PATCHLEVEL_H_ */