summaryrefslogtreecommitdiff
path: root/patches/source/bash/bash-4.3-patches/bash43-044
blob: d8f1ce07238e4b3d8a528e5ed8beeb51b8d86e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
			     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
*** bash-4.3.42/builtins/shopt.def	2013-02-27 09:43:20.000000000 -0500
--- 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},

*** ../bash-4.3/patchlevel.h	2012-12-29 10:47:57.000000000 -0500
--- 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_ */