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:
7cafbb4
)
Skip blank lines if old copyright comment was removed, and only then
author
Richard Levitte
<levitte@openssl.org>
Sun, 1 May 2016 12:01:50 +0000
(14:01 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 1 May 2016 12:16:32 +0000
(14:16 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
util/copyright.pl
patch
|
blob
|
history
diff --git
a/util/copyright.pl
b/util/copyright.pl
index bdaa9c1052c7394ecb7d6055c7b32fb569ffc55e..ccc70af63f87985b63997bac9f01121d6ad519f5 100644
(file)
--- a/
util/copyright.pl
+++ b/
util/copyright.pl
@@
-31,6
+31,7
@@
sub check_comment()
}
print @lines unless $skipit;
+ return $skipit;
}
# Look for leading copyright blocks and process (print/swallow) them.
@@
-61,7
+62,7
@@
EOF
}
next if m@^$@;
last if not m@/\*@;
- &check_comment($_);
+
last unless
&check_comment($_);
}
if (defined($_)) {