From 0efafbfb8cfd1fedfb5361c98544545c1c648733 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 10 Sep 2003 21:01:40 +0000 Subject: * shared_info.h (shared_info::initialize): Remove argument. * cygheap.h (cygheap_user::init): New declaration. * uinfo.cc (cygheap_user::init): New. (internal_getlogin): Move functionality to cygheap_user::init. Open the process token to update the group sid. * shared.cc (user_shared_initialize): Get the user information from cygheap->user. (shared_info::initialize): Remove argument. Call cygheap->user.init instead of cygheap->user.set_name. (memory_init): Do not get the user name and do not pass it to shared_info::initialize. * registry.cc (get_registry_hive_path): Make csid a cygpsid. (load_registry_hive): Ditto. --- winsup/cygwin/shared_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/shared_info.h') diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h index eb1ae7164..2d7cacd37 100644 --- a/winsup/cygwin/shared_info.h +++ b/winsup/cygwin/shared_info.h @@ -156,7 +156,7 @@ class shared_info tty_list tty; delqueue_list delqueue; - void initialize (const char *); + void initialize (); unsigned heap_chunk_size (); }; -- cgit v1.2.3