diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-08-01 17:50:44 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-08-01 17:50:44 +0000 |
commit | f94b9f70f594c8343332503e3f11c3df272bc92d (patch) | |
tree | aceb336b307ce654521582850d22456dee1d3db6 /pp_hot.c | |
parent | af7f9c15b19acb8a3505931059b5c163366afc7d (diff) | |
download | perl-f94b9f70f594c8343332503e3f11c3df272bc92d.tar.gz |
fix buggy detection of failed glob()
p4raw-id: //depot/maint-5.005/perl@1674
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1244,7 +1244,7 @@ do_readline(void) IoFLAGS(io) |= IOf_START; } else if (type == OP_GLOB) { - if (do_close(PL_last_in_gv, FALSE) & ~0xFF) + if (!do_close(PL_last_in_gv, FALSE)) warn("internal error: glob failed"); } if (gimme == G_SCALAR) { |