From 121105952f7db668ea774ce7889c9485723019f1 Mon Sep 17 00:00:00 2001 From: vda Date: Tue, 21 Nov 2006 00:09:37 +0000 Subject: httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net! git-svn-id: svn://busybox.net/trunk/busybox@16596 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/ash.c | 1 - shell/lash.c | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index 3c7639707..4fef0f2d3 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -1495,7 +1495,6 @@ static void getoptsreset(const char *); #endif #ifdef CONFIG_LOCALE_SUPPORT -#include static void change_lc_all(const char *value); static void change_lc_ctype(const char *value); #endif diff --git a/shell/lash.c b/shell/lash.c index 4067bc6bc..472cbddb9 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -25,10 +25,6 @@ #include #include "cmdedit.h" -#ifdef CONFIG_LOCALE_SUPPORT -#include -#endif - #include #define expand_t glob_t @@ -377,6 +373,7 @@ static int builtin_export(struct child_prog *child) #endif #ifdef CONFIG_LOCALE_SUPPORT + // TODO: why getenv? "" would be just as good... if(strncmp(v, "LC_ALL=", 7)==0) setlocale(LC_ALL, getenv("LC_ALL")); if(strncmp(v, "LC_CTYPE=", 9)==0) -- cgit v1.2.3-55-g6feb