From: Rich Salz Date: Sun, 1 May 2016 13:23:38 +0000 (-0400) Subject: Handle multi-line "written by/for" comments. X-Git-Tag: OpenSSL_1_1_0-pre6~971 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d244dd559d0e6e594e4a0f911e49509e8a7b158b;p=openssl Handle multi-line "written by/for" comments. Reviewed-by: Richard Levitte --- diff --git a/util/copyright.pl b/util/copyright.pl index ccc70af63f..4367f152a6 100644 --- 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; }