svashisht / rpms / bash

Forked from rpms/bash 6 years ago
Clone
Roman Rakus efcdbec
			     BASH PATCH REPORT
Roman Rakus efcdbec
			     =================
Roman Rakus efcdbec
Roman Rakus efcdbec
Bash-Release:	4.2
Roman Rakus efcdbec
Patch-ID:	bash42-042
Roman Rakus efcdbec
Roman Rakus efcdbec
Bug-Reported-by:	Adam Pippin <adam@gp-inc.ca>
Roman Rakus efcdbec
Bug-Reference-ID:	<CAPYbNHr6ucZFOoWsRdUJj6KP3Ju0j1bkESa_cmb7iU+kZwdVpg@mail.gmail.com>
Roman Rakus efcdbec
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2012-11/msg00087.html
Roman Rakus efcdbec
Roman Rakus efcdbec
Bug-Description:
Roman Rakus efcdbec
Roman Rakus efcdbec
Compilation failed after specifying the  `--enable-minimal-config' option to
Roman Rakus efcdbec
configure (more specifically, specifying `--disable-alias').
Roman Rakus efcdbec
Roman Rakus efcdbec
Patch (apply with `patch -p0'):
Roman Rakus efcdbec
Roman Rakus efcdbec
*** ../bash-4.2-patched/parse.y	2012-07-08 21:53:33.000000000 -0400
Roman Rakus efcdbec
--- parse.y	2012-10-14 20:20:34.000000000 -0400
Roman Rakus efcdbec
***************
Roman Rakus efcdbec
*** 2394,2397 ****
Roman Rakus efcdbec
--- 2392,2396 ----
Roman Rakus efcdbec
  	   to consume the quoted newline and move to the next character in
Roman Rakus efcdbec
  	   the expansion. */
Roman Rakus efcdbec
+ #if defined (ALIAS)
Roman Rakus efcdbec
  	if (expanding_alias () && shell_input_line[shell_input_line_index+1] == '\0')
Roman Rakus efcdbec
  	  {
Roman Rakus efcdbec
***************
Roman Rakus efcdbec
*** 2404,2408 ****
Roman Rakus efcdbec
  	    goto next_alias_char;	/* and get next character */
Roman Rakus efcdbec
  	  }
Roman Rakus efcdbec
! 	else	    
Roman Rakus efcdbec
  	  goto restart_read;
Roman Rakus efcdbec
      }
Roman Rakus efcdbec
--- 2403,2408 ----
Roman Rakus efcdbec
  	    goto next_alias_char;	/* and get next character */
Roman Rakus efcdbec
  	  }
Roman Rakus efcdbec
! 	else
Roman Rakus efcdbec
! #endif 
Roman Rakus efcdbec
  	  goto restart_read;
Roman Rakus efcdbec
      }
Roman Rakus efcdbec
Roman Rakus efcdbec
*** ../bash-4.2-patched/patchlevel.h	Sat Jun 12 20:14:48 2010
Roman Rakus efcdbec
--- patchlevel.h	Thu Feb 24 21:41:34 2011
Roman Rakus efcdbec
***************
Roman Rakus efcdbec
*** 26,30 ****
Roman Rakus efcdbec
     looks for to find the patch level (for the sccs version string). */
Roman Rakus efcdbec
  
Roman Rakus efcdbec
! #define PATCHLEVEL 41
Roman Rakus efcdbec
  
Roman Rakus efcdbec
  #endif /* _PATCHLEVEL_H_ */
Roman Rakus efcdbec
--- 26,30 ----
Roman Rakus efcdbec
     looks for to find the patch level (for the sccs version string). */
Roman Rakus efcdbec
  
Roman Rakus efcdbec
! #define PATCHLEVEL 42
Roman Rakus efcdbec
  
Roman Rakus efcdbec
  #endif /* _PATCHLEVEL_H_ */