From: Dr. Stephen Henson Date: Thu, 9 Jul 2015 15:56:45 +0000 (+0100) Subject: Sort @sstacklst correctly. X-Git-Tag: OpenSSL_1_0_0t~29 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=14cf669af13be931c7367bd3d85f344e24647cfd;p=oweals%2Fopenssl.git Sort @sstacklst correctly. Reviewed-by: Rich Salz (cherry picked from commit 2a7059c56f885a3fa0842e886f5178def8e5481d) --- 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() { 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 .= <