From c0a5046d0e398d5576cd66a33269728e73384d4c Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 3 Nov 1998 18:44:04 +0000 Subject: narrow localization to LC_CTYPE only --- www/webglimpse/files/patch-ae | 2 +- www/webglimpse/files/patch-ak | 2 +- www/webglimpse/files/patch-aq | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'www/webglimpse') diff --git a/www/webglimpse/files/patch-ae b/www/webglimpse/files/patch-ae index 19d091ff2276..6e37159143a6 100644 --- a/www/webglimpse/files/patch-ae +++ b/www/webglimpse/files/patch-ae @@ -37,7 +37,7 @@ - $nhhops, $local_limit, $remote_limit, $addboxes, @urllist) = ReadConfig($archivepwd); + $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, $locale, $charset, @urllist) = ReadConfig($indexdir); + -+$ENV{LANG}=$locale if ($locale ne ''); ++$ENV{LC_CTYPE}=$locale if ($locale ne ''); +setlocale(LC_CTYPE, ""); + +$charset = "; charset=$charset" if ($charset ne ''); diff --git a/www/webglimpse/files/patch-ak b/www/webglimpse/files/patch-ak index 14af89a9abaf..94a833715802 100644 --- a/www/webglimpse/files/patch-ak +++ b/www/webglimpse/files/patch-ak @@ -49,7 +49,7 @@ - $nhhops, $local_limit, $remote_limit, $addboxes, @urllist) = ReadConfig($indexdir); + $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, $locale, $charset, @urllist) = ReadConfig($indexdir); + -+$ENV{LANG}=$locale if ($locale ne ''); ++$ENV{LC_CTYPE}=$locale if ($locale ne ''); +setlocale(LC_CTYPE, ""); + +$charset = "; charset=$charset" if ($charset ne ''); diff --git a/www/webglimpse/files/patch-aq b/www/webglimpse/files/patch-aq index 7bff7c53acb8..ecd207b8848b 100644 --- a/www/webglimpse/files/patch-aq +++ b/www/webglimpse/files/patch-aq @@ -13,7 +13,7 @@ print OUT "# CRONFILE FOR ARCHIVE IN DIRECTORY $indexdir\n\n"; +if (defined($locale) && $locale ne '') { -+ print OUT "LANG=$locale; export LANG\n"; ++ print OUT "LC_CTYPE=$locale; export LC_CTYPE\n"; +} + print OUT ('quiet=""',"\n"); -- cgit v1.2.3