diff options
-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"); |