summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-23 08:43:19 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-24 01:45:27 -0800
commit5bcd1ef4a02daf3152ee41becf0004a7e450d106 (patch)
treeae436f83da01dc2da1deb37ce11c47bd9b4f69d0 /gv.c
parenta71d67b1d7150f1f3bd4d28cacf3c4780463bcb6 (diff)
downloadperl-5bcd1ef4a02daf3152ee41becf0004a7e450d106.tar.gz
gv.c: Remove SV_GMAGIC from sv_catpvn_flags call.
This function doesn’t take that flag. It wasn’t doing anything.
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index 8600665256..ad46000999 100644
--- a/gv.c
+++ b/gv.c
@@ -1237,7 +1237,7 @@ Perl_gv_autoload_pvn(pTHX_ HV *stash, const char *name, STRLEN len, U32 flags)
tainting if $FOO::AUTOLOAD was previously tainted, but is not now. */
sv_catpvn_flags(
varsv, name, len,
- SV_GMAGIC|SV_SMAGIC|(is_utf8 ? SV_CATUTF8 : SV_CATBYTES)
+ SV_SMAGIC|(is_utf8 ? SV_CATUTF8 : SV_CATBYTES)
);
if (is_utf8)
SvUTF8_on(varsv);