2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 07:56:03 +00:00

fhem.pl: add 10038 as badf for Windows (Forum #114513)

git-svn-id: https://svn.fhem.de/fhem/trunk@22935 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-10-07 07:51:07 +00:00
parent f834f3d354
commit efa873dfa1

View File

@ -723,7 +723,7 @@ while (1) {
$errcount++;
# Handling "Bad file descriptor". This is a programming error.
if($err == 9) { # BADF, don't want to "use errno.ph"
if($err == 9 || $err == 10038) { # BADF, don't want to "use errno.ph"
my $nbad = 0;
foreach my $p (keys %selectlist) {
my ($tin, $tout) = ('', '');