fixes for extended glob in compat mode; fix for brackets appearing in nested parameter expansions

This commit is contained in:
Chet Ramey committed 2022-10-07 17:46:16 -04:00
1 parent 38d9d3590f
commit 22f21b760e
13 files changed
+125 -19

No files matched your search

+1 -1
View File
@@ -142,7 +142,7 @@ _rl_init_locale (void)
lspec = "";
ret = setlocale (LC_CTYPE, lspec); /* ok, since it does not change locale */
if (ret == 0 || *ret == 0)
ret = setlocale (LC_CTYPE, NULL);
ret = setlocale (LC_CTYPE, (char *)NULL);
if (ret == 0 || *ret == 0)
ret = RL_DEFAULT_LOCALE;
#else