提交 9ca2529d 编写于 作者: R Richard Levitte

Make sure to escape backslashes and single quotes for buildinf.h

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 e09621ff
......@@ -17,8 +17,9 @@ print <<"END_OUTPUT";
END_OUTPUT
my $ctr = 0;
foreach my $c (split //, $cflags) {
$c =~ s|([\\'])|\\$1|;
# Max 18 characters per line
if (($ctr++ % 18) == 0) {
if (($ctr++ % 16) == 0) {
if ($ctr != 1) {
print "\n";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册