0044-patchlevel-44.patch 1.72 KB
From http://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-044

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

			     BASH PATCH REPORT
			     =================

Bash-Release:	4.3
Patch-ID:	bash43-044

Bug-Reported-by:	Ondrej Oprala <ooprala@redhat.com>
Bug-Reference-ID:	<539ED55B.2080103@redhat.com>
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2014-06/msg00046.html

Bug-Description:

A typo prevents the `compat42' shopt option from working as intended.

Patch (apply with `patch -p0'):

diff -rC 2 bash-4.3.42/builtins/shopt.def bash-4.3.43/builtins/shopt.def
*** a/builtins/shopt.def	2013-02-27 09:43:20.000000000 -0500
--- b/builtins/shopt.def	2015-10-16 11:25:28.000000000 -0400
***************
*** 161,165 ****
    { "compat40", &shopt_compat40, set_compatibility_level },
    { "compat41", &shopt_compat41, set_compatibility_level },
!   { "compat42", &shopt_compat41, set_compatibility_level },
  #if defined (READLINE)
    { "complete_fullquote", &complete_fullquote, (shopt_set_func_t *)NULL},
--- 161,165 ----
    { "compat40", &shopt_compat40, set_compatibility_level },
    { "compat41", &shopt_compat41, set_compatibility_level },
!   { "compat42", &shopt_compat42, set_compatibility_level },
  #if defined (READLINE)
    { "complete_fullquote", &complete_fullquote, (shopt_set_func_t *)NULL},

*** a/patchlevel.h	2012-12-29 10:47:57.000000000 -0500
--- b/patchlevel.h	2014-03-20 20:01:28.000000000 -0400
***************
*** 26,30 ****
     looks for to find the patch level (for the sccs version string). */
  
! #define PATCHLEVEL 43
  
  #endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
     looks for to find the patch level (for the sccs version string). */
  
! #define PATCHLEVEL 44
  
  #endif /* _PATCHLEVEL_H_ */