summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-05-10 00:07:45 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-05-10 00:07:45 +0000
commit016cadfb542569dc72a7523fd12a03b21d075336 (patch)
treec5d00b037765100bbdbd7150f621527e09abfebf /util
parentbdee69f7186e1d0b94baa5179d068fc9c611faf5 (diff)
Fix to allow multiple NONE libraries in mkerr.pl .
Diffstat (limited to 'util')
-rw-r--r--util/mkerr.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl
index 7dbe246297..e812b9fc00 100644
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -53,6 +53,7 @@ while(<IN>)
{
if(/^L\s+(\S+)\s+(\S+)\s+(\S+)/) {
$hinc{$1} = $2;
+ $libinc{$2} = $1;
$cskip{$3} = $1;
if($3 ne "NONE") {
$csrc{$1} = $3;
@@ -74,7 +75,7 @@ close IN;
# Scan each header file in turn and make a list of error codes
# and function names
-while (($lib, $hdr) = each %hinc)
+while (($hdr, $lib) = each %libinc)
{
next if($hdr eq "NONE");
print STDERR "Scanning header file $hdr\n" if $debug;