summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-07-09 16:56:45 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-07-09 16:59:33 +0100
commit14cf669af13be931c7367bd3d85f344e24647cfd (patch)
treec0f1b837bd6ab1f1305fbf983c62926e9058ee47
parent18c5ead86e781ba27c9108ab1854f0b2843238ec (diff)
Sort @sstacklst correctly.
Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit 2a7059c56f885a3fa0842e886f5178def8e5481d)
-rwxr-xr-xutil/mkstack.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mkstack.pl b/util/mkstack.pl
index f708610a78..a86d91f67e 100755
--- a/util/mkstack.pl
+++ b/util/mkstack.pl
@@ -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;