diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-21 04:28:08 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-21 04:28:08 +0000 |
commit | 69282e910994b718c7eedc8f550888058a4e93ff (patch) | |
tree | 7b03bc1b24a50d77983c616709e61e9238cee94a /perlapi.c | |
parent | 2decb4fb82e001e3c9671c57b61232c651a9c22c (diff) | |
download | perl-69282e910994b718c7eedc8f550888058a4e93ff.tar.gz |
patch to report warnings on bogus filehandles passed to flock(),
more consistent warnings, from Greg Bacon <gbacon@itsc.uah.edu>
(slightly modified)
p4raw-id: //depot/perl@4830
Diffstat (limited to 'perlapi.c')
-rw-r--r-- | perlapi.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -4449,6 +4449,13 @@ Perl_wait4pid(pTHXo_ Pid_t pid, int* statusp, int flags) return ((CPerlObj*)pPerl)->Perl_wait4pid(pid, statusp, flags); } +#undef Perl_report_closed_fh +void +Perl_report_closed_fh(pTHXo_ GV *gv, IO *io, const char *func, const char *obj) +{ + ((CPerlObj*)pPerl)->Perl_report_closed_fh(gv, io, func, obj); +} + #undef Perl_report_uninit void Perl_report_uninit(pTHXo) |