diff options
Diffstat (limited to 'msvc-common')
-rw-r--r-- | msvc-common/msvc-filter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/msvc-common/msvc-filter.cxx b/msvc-common/msvc-filter.cxx index 9146760..63c1fd1 100644 --- a/msvc-common/msvc-filter.cxx +++ b/msvc-common/msvc-filter.cxx @@ -323,7 +323,7 @@ try // Proxy the data if requested. // - if (FD_ISSET (isp.fd (), &rd)) + if (isp.is_open () && FD_ISSET (isp.fd (), &rd)) { for (;;) { @@ -349,7 +349,7 @@ try // Read & filter. // - if (FD_ISSET (isf.fd (), &rd)) + if (isf.is_open () && FD_ISSET (isf.fd (), &rd)) { for (;;) { |