svashisht / rpms / bash

Forked from rpms/bash 4 years ago
Clone

Blame SOURCES/bash42-042

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