summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2006-01-04 13:00:45 +0000
committerGisle Aas <gisle@activestate.com>2006-01-04 13:00:45 +0000
commit1c5d1ca7ee89d1e1782f94ae9883de9a1052a87d (patch)
treed4467d134143050e200a207185eca9a7d86f74e8 /perlio.c
parent396482e1e4786de2b4c8ab57cb613dc0f110b931 (diff)
downloadperl-1c5d1ca7ee89d1e1782f94ae9883de9a1052a87d.tar.gz
Get rid of a few more hardcoded string lengths.
p4raw-id: //depot/perl@26642
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index 175b978c56..95ac41d78a 100644
--- a/perlio.c
+++ b/perlio.c
@@ -867,7 +867,7 @@ XS(XS_io_MODIFY_SCALAR_ATTRIBUTES)
SV *
PerlIO_tab_sv(pTHX_ PerlIO_funcs *tab)
{
- HV * const stash = gv_stashpvn("PerlIO::Layer", 13, TRUE);
+ HV * const stash = gv_stashpvn(STR_WITH_LEN("PerlIO::Layer"), TRUE);
SV * const sv = sv_bless(newRV_noinc(newSViv(PTR2IV(tab))), stash);
return sv;
}