portability and compatibility fixes

This commit is contained in:
Chet Ramey
2021-12-06 09:17:41 -05:00
parent 006856edf6
commit 71a11dbeb4
15 changed files with 513 additions and 313 deletions
+1 -1
View File
@@ -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
View File
@@ -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;