summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-25 20:57:56 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-25 20:57:56 +0000
commitda51bb9b4f7f527464b5e38aca8bcb956de1bbbc (patch)
treef2f952634f7d10137a8e0c223426969a64d76ff6 /perlio.c
parentede8ac17cc8980652fa00e4d3b33ce031d6bbd24 (diff)
downloadperl-da51bb9b4f7f527464b5e38aca8bcb956de1bbbc.tar.gz
The last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmask
of flags, not a boolean, so correct the documenation and callers. p4raw-id: //depot/perl@29977
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 939665021f..95867507a9 100644
--- a/perlio.c
+++ b/perlio.c
@@ -902,7 +902,7 @@ XS(XS_io_MODIFY_SCALAR_ATTRIBUTES)
SV *
PerlIO_tab_sv(pTHX_ PerlIO_funcs *tab)
{
- HV * const stash = gv_stashpvs("PerlIO::Layer", TRUE);
+ HV * const stash = gv_stashpvs("PerlIO::Layer", GV_ADD);
SV * const sv = sv_bless(newRV_noinc(newSViv(PTR2IV(tab))), stash);
return sv;
}