svashisht / rpms / bash

Forked from rpms/bash 6 years ago
Clone
Roman Rakus e732308
			     BASH PATCH REPORT
Roman Rakus e732308
			     =================
Roman Rakus e732308
Roman Rakus e732308
Bash-Release:	4.0
Roman Rakus e732308
Patch-ID:	bash40-011
Roman Rakus e732308
Roman Rakus e732308
Bug-Reported-by:	Matt Zyzik <Matt@ice.filescope.com>n
Roman Rakus e732308
Bug-Reference-ID:	<20090312015018.C00741383ED@ice.filescope.com>
Roman Rakus e732308
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2009-03/msg00092.html
Roman Rakus e732308
Roman Rakus e732308
Bug-Description:
Roman Rakus e732308
Roman Rakus e732308
When using the new |& operator following a simple command with a redirection,
Roman Rakus e732308
the redirection of stderr through the pipe was not performed under certain
Roman Rakus e732308
circumstances.
Roman Rakus e732308
Roman Rakus e732308
Patch:
Roman Rakus e732308
Roman Rakus e732308
*** ../bash-4.0-patched/parse.y	2009-03-08 21:24:47.000000000 -0400
Roman Rakus e732308
--- parse.y	2009-03-12 21:36:23.000000000 -0400
Roman Rakus e732308
***************
Roman Rakus e732308
*** 1123,1127 ****
Roman Rakus e732308
  			  REDIRECT *r;
Roman Rakus e732308
  
Roman Rakus e732308
! 			  tc = $1;
Roman Rakus e732308
  			  rd.dest = 1;
Roman Rakus e732308
  			  r = make_redirection (2, r_duplicating_output, rd);
Roman Rakus e732308
--- 1123,1127 ----
Roman Rakus e732308
  			  REDIRECT *r;
Roman Rakus e732308
  
Roman Rakus e732308
! 			  tc = $1->type == cm_simple ? (COMMAND *)$1->value.Simple : $1;
Roman Rakus e732308
  			  rd.dest = 1;
Roman Rakus e732308
  			  r = make_redirection (2, r_duplicating_output, rd);
Roman Rakus e732308
*** ../bash-4.0/patchlevel.h	2009-01-04 14:32:40.000000000 -0500
Roman Rakus e732308
--- patchlevel.h	2009-02-22 16:11:31.000000000 -0500
Roman Rakus e732308
***************
Roman Rakus e732308
*** 26,30 ****
Roman Rakus e732308
     looks for to find the patch level (for the sccs version string). */
Roman Rakus e732308
  
Roman Rakus e732308
! #define PATCHLEVEL 10
Roman Rakus e732308
  
Roman Rakus e732308
  #endif /* _PATCHLEVEL_H_ */
Roman Rakus e732308
--- 26,30 ----
Roman Rakus e732308
     looks for to find the patch level (for the sccs version string). */
Roman Rakus e732308
  
Roman Rakus e732308
! #define PATCHLEVEL 11
Roman Rakus e732308
  
Roman Rakus e732308
  #endif /* _PATCHLEVEL_H_ */
Roman Rakus e732308