From: Abhijit Menon-Sen Date: Thu, 17 Apr 2003 16:19:31 +0000 (+0000) Subject: [#21962] Speculative fix: don't set GvNAMELEN to 1 if GvNAME is "". X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d2e84f4c6d50974396b5eb49a584da41841a6138;p=p5sagit%2Fp5-mst-13.2.git [#21962] Speculative fix: don't set GvNAMELEN to 1 if GvNAME is "". Anything that's broken by this change should be fixed. p4raw-id: //depot/perl@19252 --- diff --git a/gv.c b/gv.c index a04bdcf..489ed0b 100644 --- a/gv.c +++ b/gv.c @@ -688,8 +688,6 @@ Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, I32 sv_type) } } len = namend - name; - if (!len) - len = 1; /* No stash in name, so see how we can default */