diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2006-05-29 15:27:02 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2006-05-29 15:27:02 +0000 |
commit | ff806af2ea404e8d06ddc51fb69c5913462e33d3 (patch) | |
tree | 557347e022f4a31045045444a9bb153e91540a56 /pp_ctl.c | |
parent | 090656d2188162bd37e6423633fb806b30c6408b (diff) | |
download | perl-ff806af2ea404e8d06ddc51fb69c5913462e33d3.tar.gz |
make require report too many open files error
ie don't continue searching the rest of @INC
p4raw-id: //depot/perl@28331
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3297,6 +3297,9 @@ PP(pp_require) tryname += 2; break; } + else if (errno == EMFILE) + /* no point in trying other paths if out of handles */ + break; } } } |