summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fr-process.c14
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);