summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2006-01-04 16:15:34 +0000
committerGisle Aas <gisle@activestate.com>2006-01-04 16:15:34 +0000
commit89529cee496f815eec2d49f2510449af5063ddd8 (patch)
treee06748af374c318d12651d338e657323af4a0ce7 /perlio.c
parent91d456aef184ffc6173bca456cc087b98f0e0831 (diff)
downloadperl-89529cee496f815eec2d49f2510449af5063ddd8.tar.gz
Make the new STR_WITH_LEN() affected compile under -Dusethreads.
Can't use STR_WITH_LEN() as argument to a macro :-( p4raw-id: //depot/perl@26649
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 6937b3609f..b49d978562 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(STR_WITH_LEN("PerlIO::Layer"), TRUE);
+ HV * const stash = gv_stashpvs("PerlIO::Layer", TRUE);
SV * const sv = sv_bless(newRV_noinc(newSViv(PTR2IV(tab))), stash);
return sv;
}