mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-21 02:42:51 +02:00
fixes for extended glob in compat mode; fix for brackets appearing in nested parameter expansions
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user