From 2ea95889137bfb18096d6cd8243b8938a690a231 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Mon, 25 Nov 2019 00:36:25 +0100 Subject: Bash-4.3 patch 44 A typo prevents the `compat42' shopt option from working as intended. Change-Id: Ifc34db5425d2222854ac4f49809998798fe909fd --- builtins/shopt.c | 2 +- builtins/shopt.def | 2 +- patchlevel.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builtins/shopt.c b/builtins/shopt.c index 2fbf016..137cd6e 100644 --- a/builtins/shopt.c +++ b/builtins/shopt.c @@ -122,7 +122,7 @@ static struct { { "compat32", &shopt_compat32, set_compatibility_level }, { "compat40", &shopt_compat40, set_compatibility_level }, { "compat41", &shopt_compat41, set_compatibility_level }, - { "compat42", &shopt_compat41, set_compatibility_level }, + { "compat42", &shopt_compat42, set_compatibility_level }, #if defined (READLINE) { "complete_fullquote", &complete_fullquote, (shopt_set_func_t *)NULL}, { "direxpand", &dircomplete_expand, shopt_set_complete_direxpand }, diff --git a/builtins/shopt.def b/builtins/shopt.def index 6050a14..f0f9d99 100644 --- a/builtins/shopt.def +++ b/builtins/shopt.def @@ -160,7 +160,7 @@ static struct { { "compat32", &shopt_compat32, set_compatibility_level }, { "compat40", &shopt_compat40, set_compatibility_level }, { "compat41", &shopt_compat41, set_compatibility_level }, - { "compat42", &shopt_compat41, set_compatibility_level }, + { "compat42", &shopt_compat42, set_compatibility_level }, #if defined (READLINE) { "complete_fullquote", &complete_fullquote, (shopt_set_func_t *)NULL}, { "direxpand", &dircomplete_expand, shopt_set_complete_direxpand }, diff --git a/patchlevel.h b/patchlevel.h index 60eb423..4b23f47 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -25,6 +25,6 @@ regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh looks for to find the patch level (for the sccs version string). */ -#define PATCHLEVEL 43 +#define PATCHLEVEL 44 #endif /* _PATCHLEVEL_H_ */ -- cgit v1.2.3