--- fhandler.cc	Sun May 12 16:34:22 2002
+++ fhandler.cc.orig	Thu May  2 06:13:46 2002
@@ -369,15 +369,7 @@
 
   file_attributes = FILE_ATTRIBUTE_NORMAL;
   if (flags & O_DIROPEN)
-    {
-      if (wincap.can_open_directories ())
-        file_attributes |= FILE_FLAG_BACKUP_SEMANTICS;
-      else
-        {
-          set_errno (EISDIR);
-          goto done;
-        }
-    }
+    file_attributes |= FILE_FLAG_BACKUP_SEMANTICS;
   if (get_device () == FH_SERIAL)
     file_attributes |= FILE_FLAG_OVERLAPPED;
 
