mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
Escape patch strings before embedding them in patchlevel.h
This commit is contained in:
parent
6348b76e16
commit
321e50c78d
@ -92,6 +92,8 @@ my $seen=0;
|
||||
while (<PLIN>) {
|
||||
if (/\t,NULL/ and $seen) {
|
||||
while (my $c = shift @ARGV){
|
||||
$c =~ s|\\|\\\\|g;
|
||||
$c =~ s|"|\\"|g;
|
||||
print PLOUT qq{\t,"$c"\n};
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user