projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
689440e
)
Fix for ID 20000915.011, IO::Select warning for an undefined fd.
Jarkko Hietaniemi [Sat, 21 Oct 2000 01:08:23 +0000 (
01:08
+0000)]
p4raw-id: //depot/perl@7384
ext/IO/lib/IO/Select.pm
patch
|
blob
|
blame
|
history
diff --git
a/ext/IO/lib/IO/Select.pm
b/ext/IO/lib/IO/Select.pm
index
e84b54f
..
1a3a26f
100644
(file)
--- a/
ext/IO/lib/IO/Select.pm
+++ b/
ext/IO/lib/IO/Select.pm
@@
-56,6
+56,7
@@
sub exists
sub _fileno
{
my($self, $f) = @_;
+ return unless defined $f;
$f = $f->[0] if ref($f) eq 'ARRAY';
($f =~ /^\d+$/) ? $f : fileno($f);
}