diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1998-11-03 18:44:04 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1998-11-03 18:44:04 +0000 |
commit | c0a5046d0e398d5576cd66a33269728e73384d4c (patch) | |
tree | fc330e3201d5bb5080b0739c7d21e117243ace8e /www | |
parent | Update to v1.20. (diff) |
narrow localization to LC_CTYPE only
Notes
Notes:
svn path=/head/; revision=14334
Diffstat (limited to 'www')
-rw-r--r-- | www/webglimpse/files/patch-ae | 2 | ||||
-rw-r--r-- | www/webglimpse/files/patch-ak | 2 | ||||
-rw-r--r-- | www/webglimpse/files/patch-aq | 2 |
3 files changed, 3 insertions, 3 deletions
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"); |