diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-04-24 19:28:43 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-04-24 19:28:43 +0200 |
commit | 73934800474e5b333af2bff0a8f79f13405fb500 (patch) | |
tree | 11883a1b42ba53c8192b5d5d809926f0f9c4f0a8 /util/mkerr.pl | |
parent | "perl util/mkerr.pl -static -recurse -rebuild" because the previous (diff) | |
download | openssl-73934800474e5b333af2bff0a8f79f13405fb500.tar.xz openssl-73934800474e5b333af2bff0a8f79f13405fb500.zip |
Change the command line options of mkerr.pl so -static is now default and
a -write option is needed to actually change anything. Second attempt at
getting rid of ERR, ERRC definitions: it might even work this time :-)
Diffstat (limited to '')
-rw-r--r-- | util/mkerr.pl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl index 0293b0be7d..ccf766b9a0 100644 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -3,9 +3,10 @@ my $config = "crypto/err/openssl.ec"; my $debug = 0; my $rebuild = 0; -my $static = 0; +my $static = 1; my $recurse = 0; my $reindex = 0; +my $dowrite = 0; while (@ARGV) { @@ -25,8 +26,11 @@ while (@ARGV) { } elsif($arg eq "-reindex") { $reindex = 1; shift @ARGV; - } elsif($arg eq "-static") { - $static = 1; + } elsif($arg eq "-nostatic") { + $static = 0; + shift @ARGV; + } elsif($arg eq "-write") { + $dowrite = 1; shift @ARGV; } else { last; @@ -210,7 +214,7 @@ foreach $lib (keys %csrc) } else { print STDERR "$lib:\t\t$fnew{$lib} New Functions,"; print STDERR " $rnew{$lib} New Reasons.\n"; - + next unless $dowrite; } # If we get here then we have some new error codes so we |