Fix broken statement in UCS_to_most.pl.
authorRobert Haas <[email protected]>
Tue, 15 Nov 2016 14:41:53 +0000 (09:41 -0500)
committerRobert Haas <[email protected]>
Tue, 15 Nov 2016 14:41:53 +0000 (09:41 -0500)
This has been wrong for a very long time, and it's puzzling to me how
it ever worked for anyone.

Kyotaro Horiguchi

src/backend/utils/mb/Unicode/UCS_to_most.pl

index d7ec8eff4ac476b7762b3b67a71181e070004404..125378f149ac0ae3c3862be4d58e0318e689f12d 100755 (executable)
@@ -48,7 +48,7 @@ require "ucs2utf.pl";
    'UHC'        => 'CP949.TXT',
    'JOHAB'      => 'JOHAB.TXT',);
 
-@charsets = keys(filename);
+@charsets = keys(%filename);
 @charsets = @ARGV if scalar(@ARGV);
 foreach $charset (@charsets)
 {