summaryrefslogtreecommitdiff
path: root/universal.c
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2014-07-02 16:19:37 -0400
committerTony Cook <tony@develop-help.com>2014-07-03 10:26:51 +1000
commit7d59d161cb0d8b62aecb78fa8c5e011538e6a17e (patch)
tree865170c1e4493b1b3bf8f338aac864d61862f2e7 /universal.c
parentcda67c9995c6d90b71a0939aaae084e1869b8248 (diff)
downloadperl-7d59d161cb0d8b62aecb78fa8c5e011538e6a17e.tar.gz
universal.c gv_stashpv -> gv_stashpvs
avoids a strlen()
Diffstat (limited to 'universal.c')
-rw-r--r--universal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/universal.c b/universal.c
index 4f65948c17..c219411ed7 100644
--- a/universal.c
+++ b/universal.c
@@ -384,7 +384,7 @@ XS(XS_UNIVERSAL_can)
else {
pkg = gv_stashsv(sv, 0);
if (!pkg)
- pkg = gv_stashpv("UNIVERSAL", 0);
+ pkg = gv_stashpvs("UNIVERSAL", 0);
}
if (pkg) {