mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-16 08:30:49 +02:00
portability and compatibility fixes
This commit is contained in:
+1
-1
@@ -1088,7 +1088,7 @@ set_expand_once (nval, uwp)
|
||||
int oa;
|
||||
|
||||
oa = assoc_expand_once;
|
||||
if (shell_compatibility_level > 51)
|
||||
if (shell_compatibility_level > 51) /* XXX - internal */
|
||||
{
|
||||
if (uwp)
|
||||
unwind_protect_int (assoc_expand_once);
|
||||
|
||||
+1
-1
@@ -918,7 +918,7 @@ set_assoc_expand (option_name, mode)
|
||||
char *option_name;
|
||||
int mode;
|
||||
{
|
||||
#if 0 /* TAG: bash-5.2, fix shell_compatibility_level test */
|
||||
#if 0 /* leave this disabled */
|
||||
if (shell_compatibility_level <= 51)
|
||||
#endif
|
||||
assoc_expand_once = expand_once_flag;
|
||||
|
||||
Reference in New Issue
Block a user