提交 e428f595 编写于 作者: R Richard Levitte

Skip blank lines if old copyright comment was removed, and only then

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 7cafbb4b
......@@ -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($_)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册