Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d56115

Browse files
committed
Make UCS_to_most.pl process encodings in sorted order
This just makes the progress output easier to follow. Reviewed-by: Kyotaro Horiguchi <[email protected]> Reviewed-by: Heikki Linnakangas <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/[email protected]
1 parent 2b00db4 commit 4d56115

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
# make maps for all encodings if not specified
5555
my @charsets = (scalar(@ARGV) > 0) ? @ARGV : sort keys(%filename);
5656

57-
foreach my $charset (@charsets)
57+
# the sort is just so that the output is easier to eyeball
58+
foreach my $charset (sort @charsets)
5859
{
5960
my $mapping = &read_source($filename{$charset});
6061

0 commit comments

Comments
 (0)