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:
e09621f
)
Make sure to escape backslashes and single quotes for buildinf.h
author
Richard Levitte
<levitte@openssl.org>
Wed, 10 Feb 2016 18:06:54 +0000
(19:06 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 10 Feb 2016 18:36:48 +0000
(19:36 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
util/mkbuildinf.pl
patch
|
blob
|
history
diff --git
a/util/mkbuildinf.pl
b/util/mkbuildinf.pl
index ffa8a39933f13806d33cf3d9b16b2081bfc17b28..b880c7f226a2fcd73bcacf6b3167e43e49adb825 100755
(executable)
--- a/
util/mkbuildinf.pl
+++ b/
util/mkbuildinf.pl
@@
-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++ % 1
8
) == 0) {
+ if (($ctr++ % 1
6
) == 0) {
if ($ctr != 1) {
print "\n";
}