From b1b13a833f8c2dd17720a234db2e4c87d7d08826 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 7 Oct 2020 07:51:07 +0000 Subject: [PATCH] fhem.pl: add 10038 as badf for Windows (Forum #114513) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@22935 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem.pl b/fhem.pl index 2bcad5152..935768858 100755 --- a/fhem.pl +++ b/fhem.pl @@ -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) = ('', '');