httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net!

This commit is contained in:
Denis Vlasenko
2006-11-21 00:09:37 +00:00
parent 6c85ddc850
commit fcdb00f735
7 changed files with 19 additions and 17 deletions

View File

@ -64,8 +64,8 @@ int main(int argc, char **argv)
for (s = applet_name; *s ;)
if (*(s++) == '/') applet_name = s;
/* Set locale for everybody except `init' */
if(ENABLE_LOCALE_SUPPORT && getpid() != 1)
/* Set locale for everybody except 'init' */
if (ENABLE_LOCALE_SUPPORT && getpid() != 1)
setlocale(LC_ALL, "");
run_applet_by_name(applet_name, argc, argv);