07a490
			     BASH PATCH REPORT
07a490
			     =================
07a490
07a490
Bash-Release:	4.2
07a490
Patch-ID:	bash42-034
07a490
07a490
Bug-Reported-by:	"Davide Brini" <dave_br@gmx.com>
07a490
Bug-Reference-ID:	<20120604164154.69781EC04B@imaps.oficinas.atrapalo.com>
07a490
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2012-06/msg00030.html
07a490
07a490
Bug-Description:
07a490
07a490
In bash-4.2, the history code would inappropriately add a semicolon to
07a490
multi-line compound array assignments when adding them to the history.
07a490
07a490
Patch (apply with `patch -p0'):
07a490
07a490
*** ../bash-4.2-patched/parse.y	2011-11-21 18:03:36.000000000 -0500
07a490
--- parse.y	2012-06-07 12:48:47.000000000 -0400
07a490
***************
07a490
*** 4900,4905 ****
07a490
--- 4916,4924 ----
07a490
        return (current_command_line_count == 2 ? "\n" : "");
07a490
      }
07a490
  
07a490
+   if (parser_state & PST_COMPASSIGN)
07a490
+     return (" ");
07a490
+ 
07a490
    /* First, handle some special cases. */
07a490
    /*(*/
07a490
    /* If we just read `()', assume it's a function definition, and don't
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 33
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 34
07a490
  
07a490
  #endif /* _PATCHLEVEL_H_ */