diff options
author | rbuj <[email protected]> | 2020-01-26 17:38:18 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-01-30 14:26:03 +0100 |
commit | 00143073880432f30daa00c1afa63e4c74aa39a1 (patch) | |
tree | ddcb5abaad14af8a821cd443a44edc76cfc3cd3a /src | |
parent | e2c34c4100893dc1854a19342daebc8335c9bfba (diff) | |
download | engrampa-00143073880432f30daa00c1afa63e4c74aa39a1.tar.bz2 engrampa-00143073880432f30daa00c1afa63e4c74aa39a1.tar.xz |
fr-process: do not override LC_CTYPE
Closes #354
Diffstat (limited to 'src')
-rw-r--r-- | src/fr-process.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/fr-process.c b/src/fr-process.c index cfd4033..892aaae 100644 --- a/src/fr-process.c +++ b/src/fr-process.c @@ -640,8 +640,11 @@ child_setup (gpointer user_data) { FrProcess *process = user_data; - if (process->priv->use_standard_locale) - putenv ("LC_ALL=C"); + if (process->priv->use_standard_locale) { + putenv ("LC_MESSAGES=C"); + putenv ("LC_TIME=C"); + putenv ("LC_NUMERIC=C"); + } /* detach from the tty */ @@ -744,8 +747,11 @@ start_current_command (FrProcess *process) { int j; - if (process->priv->use_standard_locale) - g_print ("\tLC_ALL=C\n"); + if (process->priv->use_standard_locale) { + g_print ("\tLC_MESSAGES=C\n"); + g_print ("\tLC_TIME=C\n"); + g_print ("\tLC_NUMERIC=C\n"); + } if (info->dir != NULL) g_print ("\tcd %s\n", info->dir); |