From 4d88e5a6b5afa2bc8a200fc139b28141ef9b7215 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Thu, 30 Jun 2005 12:15:14 +0000 Subject: [PATCH] -V:... would get upset (syntax error) if ... contained unbalanced (). p4raw-id: //depot/perl@25023 --- perl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 2.7.4