diff options
-rw-r--r-- | ._.gitignore | bin | 4096 -> 0 bytes | |||
-rw-r--r-- | nls.c | 4 | ||||
-rw-r--r-- | patchlevel | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/._.gitignore b/._.gitignore Binary files differdeleted file mode 100644 index aa90ec6..0000000 --- a/._.gitignore +++ /dev/null @@ -141,6 +141,10 @@ _rl_init_locale (void) if (lspec == 0) lspec = ""; ret = setlocale (LC_CTYPE, lspec); /* ok, since it does not change locale */ + if (ret == 0 || *ret == 0) + ret = setlocale (LC_CTYPE, (char *)NULL); + if (ret == 0 || *ret == 0) + ret = RL_DEFAULT_LOCALE; #else ret = (lspec == 0 || *lspec == 0) ? RL_DEFAULT_LOCALE : lspec; #endif @@ -1,3 +1,3 @@ # Do not edit -- exists only for use by patch -0 +1 |