From a07b4dc038f9409b34a22be9d39a29df87f9d7d0 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Bodo=20M=C3=B6ller?= <bodo@openssl.org>
Date: Sun, 8 Jan 2006 19:54:32 +0000
Subject: [PATCH] include max. codes in debug output

---
 util/mkerr.pl | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/util/mkerr.pl b/util/mkerr.pl
index 030899b7ab..4cb48f9964 100644
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -195,6 +195,16 @@ while (($hdr, $lib) = each %libinc)
 		}
 	    }
 	}
+
+	if ($debug) {
+		if (defined($rmax{$lib})) {
+			print STDERR "Max reason code rmax" . "{" . "$lib" . "} = $rmax{$lib}\n";
+		}
+		if (defined($fmax{$lib})) {
+			print STDERR "Max function code fmax" . "{" . "$lib" . "} = $fmax{$lib}\n";
+		}
+	}
+
 	close IN;
 }
 
@@ -237,7 +247,7 @@ foreach $file (@source) {
 	}
 	close IN;
 }
-print STDERR "\n" if $debug;
+print STDERR "                                  \n" if $debug;
 
 # Now process each library in turn.
 
-- 
2.40.0