From 2b26c2fc410ad29dbc2e906e98845c06db79e726 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 22 Oct 2006 09:38:47 +0000 Subject: * fhandler.cc (fhandler_base::fhaccess): Check if opening registry actually created a handle. This handles the registry root dir. * fhandler_registry.cc (fhandler_registry::open): Set io_handle in case of opening one of the predefined registry keys. --- winsup/cygwin/fhandler_registry.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/fhandler_registry.cc') diff --git a/winsup/cygwin/fhandler_registry.cc b/winsup/cygwin/fhandler_registry.cc index 57525f4bc..ecb7f7474 100644 --- a/winsup/cygwin/fhandler_registry.cc +++ b/winsup/cygwin/fhandler_registry.cc @@ -486,6 +486,7 @@ fhandler_registry::open (int flags, mode_t mode) } else { + set_io_handle (registry_keys[i]); flags |= O_DIROPEN; goto success; } -- cgit v1.2.3