[rt-devel] rt-3-0-3pre4 - Language Guessing

Autrijus Tang autrijus at autrijus.org
Tue Jun 17 08:48:42 EDT 2003


On Tue, Jun 17, 2003 at 08:36:24AM +0200, Jonas Lincoln wrote:
> By adding that line, I get the following when I start apache:

Can you help me to confirm that this problem does go away if you patch
    /service/perl+5.8/arch/linux-intel/lib/perl5/site_perl/5.8.0/Locale/Maketext/Lexicon.pm 
with the diff below and restart apache?

Thanks,
/Autrijus/

--- //member/autrijus/Locale-Maketext-Lexicon/lib/Locale/Maketext/Lexicon.pm	2003/05/20 07:46:12
+++ //member/autrijus/Locale-Maketext-Lexicon/lib/Locale/Maketext/Lexicon.pm	2003/06/17 12:40:19
@@ -189,6 +189,7 @@
 		$file =~ /$pattern/ or next;
 		push @{$entries{$1}}, ($format => $file) if $1;
 	    }
+	    delete $entries{$1} unless exists $entries{$1} and @{$entries{$1}};
 	}
     }
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://pallas.eruditorum.org/pipermail/rt-devel/attachments/20030617/4d8afd5a/attachment.pgp


More information about the Rt-devel mailing list