summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorPierre Humblet <phumblet@phumblet.no-ip.org>2003-09-25 02:29:05 +0000
committerPierre Humblet <phumblet@phumblet.no-ip.org>2003-09-25 02:29:05 +0000
commit138847683d28920eda599f2125c71cc5a1f7a874 (patch)
tree49a4c9cd9168abb65bb60427eae25a3dd6077b3e /winsup/cygwin/dcrt0.cc
parenta4e167fa277343ca039501010fdebe26d246fc22 (diff)
downloadcygnal-138847683d28920eda599f2125c71cc5a1f7a874.tar.gz
cygnal-138847683d28920eda599f2125c71cc5a1f7a874.tar.bz2
cygnal-138847683d28920eda599f2125c71cc5a1f7a874.zip
2003-09-24 Pierre Humblet <pierre.humblet@ieee.org>
* shared_info.h (class user_info): New. (cygwin_user_h): New. (user_shared): New. (enum shared_locations): Replace SH_MOUNT_TABLE by SH_USER_SHARED; (mount_table): Change from variable to macro. * shared.cc: Use sizeof(user_info) in "offsets". (user_shared_initialize): Add "reinit" argument to indicate need to reinitialize the mapping. Replace "mount_table" by "user_shared" throughout. Call user_shared->mountinfo.init and user_shared->delqueue.init. (shared_info::initialize): Do not call delqueue.init. (memory_init): Add argument to user_shared_initialize. * child_info.h (child_info::mount_h): Delete. (child_info::user_h): New. * sigpproc.cc (init_child_info): Use user_h instead of mount_h. * dcrt0.cc (_dll_crt0): Ditto. * fhandler_disk_file.cc (fhandler_disk_file::close): Use user_shared->delqueue instead of cygwin_shared->delqueue. * fhandler_virtual.cc (fhandler_virtual::close): Ditto. * syscalls.cc (close_all_files): Ditto. (unlink): Ditto. (seteuid32): Add argument to user_shared_initialize.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 9b064b2b3..377d6dd6f 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -901,7 +901,7 @@ _dll_crt0 ()
multiple_cygwin_problem ("fhandler size", child_proc_info->fhandler_union_cb, sizeof (fhandler_union));
else
{
- cygwin_mount_h = child_proc_info->mount_h;
+ cygwin_user_h = child_proc_info->user_h;
mypid = child_proc_info->cygpid;
break;
}