2004-11-20 Pierre Humblet <pierre.humblet@ieee.org>
* cygheap.h (cygheap_user::get_windows_id): New method. * registry.h (get_registry_hive_path): Change argument type. (load_registry_hive): Ditto. * registry.cc (get_registry_hive_path): Change argument type and take Win9x keys into account. (load_registry_hive): Ditto. * uinfo.cc (cygheap_user::env_userprofile): Use get_windows_id, even for SYSTEM. * shared.cc (user_shared_initialize): Use get_windows_id. * syscalls.cc (seteuid32): Load the registry hive and reload the user shared also on Win9x.
This commit is contained in:
@@ -39,5 +39,5 @@ public:
|
||||
};
|
||||
|
||||
/* Evaluates path to the directory of the local user registry hive */
|
||||
char *__stdcall get_registry_hive_path (const PSID psid, char *path);
|
||||
void __stdcall load_registry_hive (PSID psid);
|
||||
char *__stdcall get_registry_hive_path (const char *name, char *path);
|
||||
void __stdcall load_registry_hive (const char *name);
|
||||
|
Reference in New Issue
Block a user