This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0043bd
)
-V:... would get upset (syntax error) if ... contained unbalanced ().
author
Nicholas Clark
<nick@ccl4.org>
Thu, 30 Jun 2005 12:15:14 +0000
(12:15 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Thu, 30 Jun 2005 12:15:14 +0000
(12:15 +0000)
p4raw-id: //depot/perl@25023
perl.c
patch
|
blob
|
blame
|
history
diff --git
a/perl.c
b/perl.c
index
5689281
..
89d32a8
100644
(file)
--- a/
perl.c
+++ b/
perl.c
@@
-1812,9
+1812,8
@@
print \" \\%ENV:\\n @env\\n\" if @env; \
print \" \\@INC:\\n @INC\\n\";");
}
else {
- PL_Sv = newSVpv("config_vars(qw(",0);
- sv_catpv(PL_Sv, ++s);
- sv_catpv(PL_Sv, "))");
+ ++s;
+ PL_Sv = Perl_newSVpvf(aTHX_ "config_vars(qw%c%s%c)", 0, s, 0);
s += strlen(s);
}
av_push(PL_preambleav, PL_Sv);