* 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.
This commit is contained in:
@@ -486,6 +486,7 @@ fhandler_registry::open (int flags, mode_t mode)
|
||||
}
|
||||
else
|
||||
{
|
||||
set_io_handle (registry_keys[i]);
|
||||
flags |= O_DIROPEN;
|
||||
goto success;
|
||||
}
|
||||
|
Reference in New Issue
Block a user