From 0a695432a24c8d84668f8e0e9e2ed2cb118303c0 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 21 Aug 2011 14:04:43 -0600 Subject: [PATCH] mktables: Reorder sort This will be important in a later to commit so that we process the leader of a group of tables before any of its followers. Currently, there hasn't been a problem with the sort order, but future changes make it important. --- lib/unicore/mktables | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/unicore/mktables b/lib/unicore/mktables index c4a14d7..a36b0f4 100644 --- a/lib/unicore/mktables +++ b/lib/unicore/mktables @@ -13775,6 +13775,11 @@ sub write_all_tables() { return 1 if $a->complement != 0; return -1 if $b->complement != 0; + # Similarly, return a subservient table after + # a leader + return 1 if $a->leader != $a; + return -1 if $b->leader != $b; + my $cmp = length $ext_a <=> length $ext_b; # Return result if lengths not equal -- 2.7.4