diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-01-25 20:57:56 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-01-25 20:57:56 +0000 |
commit | da51bb9b4f7f527464b5e38aca8bcb956de1bbbc (patch) | |
tree | f2f952634f7d10137a8e0c223426969a64d76ff6 /perlio.c | |
parent | ede8ac17cc8980652fa00e4d3b33ce031d6bbd24 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |