Roman Rakus 6c0043
			     BASH PATCH REPORT
Roman Rakus 6c0043
			     =================
Roman Rakus 6c0043
Roman Rakus 6c0043
Bash-Release:	4.2
Roman Rakus 6c0043
Patch-ID:	bash42-034
Roman Rakus 6c0043
Roman Rakus 6c0043
Bug-Reported-by:	"Davide Brini" <dave_br@gmx.com>
Roman Rakus 6c0043
Bug-Reference-ID:	<20120604164154.69781EC04B@imaps.oficinas.atrapalo.com>
Roman Rakus 6c0043
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2012-06/msg00030.html
Roman Rakus 6c0043
Roman Rakus 6c0043
Bug-Description:
Roman Rakus 6c0043
Roman Rakus 6c0043
In bash-4.2, the history code would inappropriately add a semicolon to
Roman Rakus 6c0043
multi-line compound array assignments when adding them to the history.
Roman Rakus 6c0043
Roman Rakus 6c0043
Patch (apply with `patch -p0'):
Roman Rakus 6c0043
Roman Rakus 6c0043
*** ../bash-4.2-patched/parse.y	2011-11-21 18:03:36.000000000 -0500
Roman Rakus 6c0043
--- parse.y	2012-06-07 12:48:47.000000000 -0400
Roman Rakus 6c0043
***************
Roman Rakus 6c0043
*** 4900,4905 ****
Roman Rakus 6c0043
--- 4916,4924 ----
Roman Rakus 6c0043
        return (current_command_line_count == 2 ? "\n" : "");
Roman Rakus 6c0043
      }
Roman Rakus 6c0043
  
Roman Rakus 6c0043
+   if (parser_state & PST_COMPASSIGN)
Roman Rakus 6c0043
+     return (" ");
Roman Rakus 6c0043
+ 
Roman Rakus 6c0043
    /* First, handle some special cases. */
Roman Rakus 6c0043
    /*(*/
Roman Rakus 6c0043
    /* If we just read `()', assume it's a function definition, and don't
Roman Rakus 6c0043
*** ../bash-4.2-patched/patchlevel.h	Sat Jun 12 20:14:48 2010
Roman Rakus 6c0043
--- patchlevel.h	Thu Feb 24 21:41:34 2011
Roman Rakus 6c0043
***************
Roman Rakus 6c0043
*** 26,30 ****
Roman Rakus 6c0043
     looks for to find the patch level (for the sccs version string). */
Roman Rakus 6c0043
  
Roman Rakus 6c0043
! #define PATCHLEVEL 33
Roman Rakus 6c0043
  
Roman Rakus 6c0043
  #endif /* _PATCHLEVEL_H_ */
Roman Rakus 6c0043
--- 26,30 ----
Roman Rakus 6c0043
     looks for to find the patch level (for the sccs version string). */
Roman Rakus 6c0043
  
Roman Rakus 6c0043
! #define PATCHLEVEL 34
Roman Rakus 6c0043
  
Roman Rakus 6c0043
  #endif /* _PATCHLEVEL_H_ */