From: Nicholas Clark Date: Thu, 30 Jun 2005 12:15:14 +0000 (+0000) Subject: -V:... would get upset (syntax error) if ... contained unbalanced (). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4d88e5a6b5afa2bc8a200fc139b28141ef9b7215;p=p5sagit%2Fp5-mst-13.2.git -V:... would get upset (syntax error) if ... contained unbalanced (). p4raw-id: //depot/perl@25023 --- diff --git a/perl.c b/perl.c index 5689281..89d32a8 100644 --- 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);