projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba792a
)
Handle multi-line "written by/for" comments.
author
Rich Salz
<rsalz@openssl.org>
Sun, 1 May 2016 13:23:38 +0000
(09:23 -0400)
committer
Rich Salz
<rsalz@openssl.org>
Mon, 2 May 2016 12:27:39 +0000
(08:27 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
util/copyright.pl
patch
|
blob
|
history
diff --git
a/util/copyright.pl
b/util/copyright.pl
index ccc70af63f87985b63997bac9f01121d6ad519f5..4367f152a6aa17ee349691abc9731e87c88499de 100644
(file)
--- a/
util/copyright.pl
+++ b/
util/copyright.pl
@@
-30,6
+30,12
@@
sub check_comment()
}
}
+ # Look for a multi-line "written by" comment.
+ if ( ! $skipit ) {
+ my $text = join('', @lines);
+ $skipit = 1 if $text =~ m/Written by.*for the OpenSSL Project/is;
+ }
+
print @lines unless $skipit;
return $skipit;
}