aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 238f997da..7da8f334c 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2470,7 +2470,7 @@ static void reinit_unicode_for_hush(void)
2470 */ 2470 */
2471 if (ENABLE_FEATURE_CHECK_UNICODE_IN_ENV 2471 if (ENABLE_FEATURE_CHECK_UNICODE_IN_ENV
2472 || ENABLE_UNICODE_USING_LOCALE 2472 || ENABLE_UNICODE_USING_LOCALE
2473 ) { 2473 ) {
2474 const char *s = get_local_var_value("LC_ALL"); 2474 const char *s = get_local_var_value("LC_ALL");
2475 if (!s) s = get_local_var_value("LC_CTYPE"); 2475 if (!s) s = get_local_var_value("LC_CTYPE");
2476 if (!s) s = get_local_var_value("LANG"); 2476 if (!s) s = get_local_var_value("LANG");
@@ -5795,8 +5795,8 @@ static char *encode_then_expand_vararg(const char *str, int handle_squotes, int
5795 */ 5795 */
5796 5796
5797 setup_string_in_str(&input, str); 5797 setup_string_in_str(&input, str);
5798 o_addchr(&dest, '\0'); 5798 o_addchr(&dest, '\0');
5799 dest.length = 0; 5799 dest.length = 0;
5800 exp_str = NULL; 5800 exp_str = NULL;
5801 5801
5802 for (;;) { 5802 for (;;) {