diff options
author | Christopher Faylor <me@cgf.cx> | 2001-01-28 06:23:42 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-01-28 06:23:42 +0000 |
commit | 9a089f21ea4862705c6c996502c089b8d18fc833 (patch) | |
tree | 92c2264c2077b6d7b9a8b8b13dace41879b41471 /winsup/cygwin/shared_info.h | |
parent | 2a6fc028badee6ab9a4df2b1b395dbb701d965fb (diff) | |
download | cygnal-9a089f21ea4862705c6c996502c089b8d18fc833.tar.gz cygnal-9a089f21ea4862705c6c996502c089b8d18fc833.tar.bz2 cygnal-9a089f21ea4862705c6c996502c089b8d18fc833.zip |
* cygheap.cc (init_cheap): Move username initialization.
(cygheap_init): Here.
* shared_info.h (mount_info): Add a sys_mount_table_counter field.
(shared_info): Ditto.
* path.cc (mount_info::conv_to_win32_path): Check that our mount table is in
sync with the system mount table and reinitialize it if not.
(mount_info::add_reg_mount): Bump sys_mount_table counters if the system mount
table changes.
(mount_info::del_reg_mount): Ditto.
(mount_info::write_cygdrive_info_to_registry): Ditto.
(mount_info::remove_cygdrive_info_from_registry): Ditto.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r-- | winsup/cygwin/shared_info.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h index 047c7ffcd..13388a4d1 100644 --- a/winsup/cygwin/shared_info.h +++ b/winsup/cygwin/shared_info.h @@ -47,6 +47,7 @@ class mount_info { public: DWORD version; + DWORD sys_mount_table_counter; int nmounts; mount_item mount[MAX_MOUNTS]; @@ -138,14 +139,14 @@ public: class shared_info { DWORD inited; - public: int heap_chunk_in_mb; - unsigned heap_chunk_size (void); + DWORD sys_mount_table_counter; tty_list tty; delqueue_list delqueue; void initialize (void); + unsigned heap_chunk_size (void); }; extern shared_info *cygwin_shared; |