Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Humblet <phumblet@phumblet.no-ip.org>2004-11-20 22:09:19 +0300
committerPierre Humblet <phumblet@phumblet.no-ip.org>2004-11-20 22:09:19 +0300
commite70bea195b50a129b90a2706d9d7225bc8b68107 (patch)
treeb5f82c0146d36c583753fb2bac2dd1c3a2e373e3 /winsup/cygwin/registry.h
parent0f0fcb042a8e8a80433d7b372cf5a1a3b603d55f (diff)
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.
Diffstat (limited to 'winsup/cygwin/registry.h')
-rw-r--r--winsup/cygwin/registry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/registry.h b/winsup/cygwin/registry.h
index f0c807941..651eb95a9 100644
--- a/winsup/cygwin/registry.h
+++ b/winsup/cygwin/registry.h
@@ -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);