summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@wiw.org>2003-04-17 16:19:31 +0000
committerAbhijit Menon-Sen <ams@wiw.org>2003-04-17 16:19:31 +0000
commitd2e84f4c6d50974396b5eb49a584da41841a6138 (patch)
treee7dde59d7ba9b1a3bf75485686563d065b716ab7 /gv.c
parente10940c3bd0b15078d498577d8860a2ac86cc768 (diff)
downloadperl-d2e84f4c6d50974396b5eb49a584da41841a6138.tar.gz
[#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
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gv.c b/gv.c
index a04bdcf2ef..489ed0bdef 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 */