• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

TLS/SSL and crypto library


Commit MetaInfo

Révision0490314f651bdd2888b7839f07c7591877e59bd5 (tree)
l'heure2020-09-13 19:11:57
AuteurRichard Levitte <levitte@open...>
CommiterMatt Caswell

Message de Log

Make 'make errors' work again

util/mkerr.pl detects if a header is now a '.in' template, and adjusts
the header file it reads accordingly.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12781)

Change Summary

Modification

--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -263,7 +263,9 @@ while ( ( my $hdr, my $lib ) = each %libinc ) {
263263 my $linenr = 0;
264264 my $cpp = 0;
265265
266- open(IN, "<$hdr") || die "Can't open $hdr, $!,";
266+ open(IN, "<$hdr")
267+ || open(IN, "<$hdr.in")
268+ || die "Can't open $hdr or $hdr.in, $!,";
267269 while ( <IN> ) {
268270 $linenr++;
269271
@@ -435,7 +437,6 @@ foreach my $lib ( keys %errorfile ) {
435437 # Rewrite the header file
436438
437439 my $hfile = $hinc{$lib};
438- $hfile =~ s/.h$/err.h/ if $internal;
439440 open( OUT, ">$hfile" ) || die "Can't write to $hfile, $!,";
440441 print OUT <<"EOF";
441442 /*