diff options
author | Hugo van der Sanden <hv@crypt.org> | 2000-10-19 00:25:58 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-18 23:36:24 +0000 |
commit | 790090df87a94d63cdbf866bce162581c29c2abf (patch) | |
tree | 7d03d55c31794f3ab5ccb6e9fd7ce500ddb28e2f /pp_hot.c | |
parent | 177e2d42271d33bb6d33298a0190fe4d19a3bb61 (diff) | |
download | perl-790090df87a94d63cdbf866bce162581c29c2abf.tar.gz |
Re: [ID 20001018.008] flip-flop bug when there's no <FH>
Message-Id: <200010182225.XAA20330@crypt.compulink.co.uk>
p4raw-id: //depot/perl@7365
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1412,7 +1412,8 @@ Perl_do_readline(pTHX) } } if (!fp) { - if (ckWARN2(WARN_GLOB,WARN_CLOSED) && io && !(IoFLAGS(io) & IOf_START)) { + if (ckWARN2(WARN_GLOB, WARN_CLOSED) + && (!io || !(IoFLAGS(io) & IOf_START))) { if (type == OP_GLOB) Perl_warner(aTHX_ WARN_GLOB, "glob failed (can't start child: %s)", |