diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-12-20 13:39:01 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-12-20 13:39:01 +0000 |
commit | f776e3cd68509957cc5ab2967a78fb0ad213d8aa (patch) | |
tree | 6bbb9eac354afe8d1433077b0edf1425619110ad /gv.c | |
parent | 0bfa2a8afc04ca8a47987d5890bbbe751faf4444 (diff) | |
download | perl-f776e3cd68509957cc5ab2967a78fb0ad213d8aa.tar.gz |
gv_fetchpv, gv_fetchpvn and gv_fetchsv take a bitmask of flags, rather
than a simple boolean, so passing FALSE or TRUE is bogus.
p4raw-id: //depot/perl@26415
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1202,7 +1202,7 @@ Perl_newIO(pTHX) SvOBJECT_on(io); /* Clear the stashcache because a new IO could overrule a package name */ hv_clear(PL_stashcache); - iogv = gv_fetchpv("FileHandle::", FALSE, SVt_PVHV); + iogv = gv_fetchpv("FileHandle::", 0, SVt_PVHV); /* unless exists($main::{FileHandle}) and defined(%main::FileHandle::) */ if (!(iogv && GvHV(iogv) && HvARRAY(GvHV(iogv)))) iogv = gv_fetchpv("IO::Handle::", TRUE, SVt_PVHV); |