Sort @sstacklst correctly.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 2a7059c56f)
This commit is contained in:
Dr. Stephen Henson
2015-07-09 16:56:45 +01:00
parent 18c5ead86e
commit 14cf669af1

View File

@@ -97,7 +97,7 @@ while(<IN>) {
EOF
}
foreach $type_thing (sort @sstacklst) {
foreach $type_thing (sort { $a->[0] cmp $b->[0]} @sstacklst) {
my $t1 = $type_thing->[0];
my $t2 = $type_thing->[1];
$new_stackfile .= <<EOF;