mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
* mount.cc (mount_info::conv_to_win32_path): Remove unused code.
* mount.h (class mount_info): Remove sys_mount_table_counter member. * shared_info.h (class shared_info): Ditto. (CURR_SHARED_MAGIC): Update.
This commit is contained in:
parent
aadd41d8f1
commit
d92e95d62c
@ -1,3 +1,10 @@
|
||||
2011-05-24 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* mount.cc (mount_info::conv_to_win32_path): Remove unused code.
|
||||
* mount.h (class mount_info): Remove sys_mount_table_counter member.
|
||||
* shared_info.h (class shared_info): Ditto.
|
||||
(CURR_SHARED_MAGIC): Update.
|
||||
|
||||
2011-05-24 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* pinfo.h (struct _pinfo): Reduce size of progname array slightly.
|
||||
|
@ -558,12 +558,7 @@ mount_info::conv_to_win32_path (const char *src_path, char *dst, device& dev,
|
||||
unsigned *flags)
|
||||
{
|
||||
bool chroot_ok = !cygheap->root.exists ();
|
||||
while (sys_mount_table_counter < cygwin_shared->sys_mount_table_counter)
|
||||
{
|
||||
int current = cygwin_shared->sys_mount_table_counter;
|
||||
init ();
|
||||
sys_mount_table_counter = current;
|
||||
}
|
||||
|
||||
MALLOC_CHECK;
|
||||
|
||||
dev.devn = FH_FS;
|
||||
|
@ -146,7 +146,6 @@ struct device;
|
||||
class mount_info
|
||||
{
|
||||
public:
|
||||
DWORD sys_mount_table_counter;
|
||||
int nmounts;
|
||||
mount_item mount[MAX_MOUNTS];
|
||||
|
||||
|
@ -30,7 +30,7 @@ public:
|
||||
/* Data accessible to all tasks */
|
||||
|
||||
|
||||
#define CURR_SHARED_MAGIC 0xb41ae342U
|
||||
#define CURR_SHARED_MAGIC 0x34e5bfa7U
|
||||
|
||||
#define USER_VERSION 1
|
||||
#define CURR_USER_MAGIC 0x6112afb3U
|
||||
@ -44,7 +44,6 @@ class shared_info
|
||||
DWORD cb;
|
||||
public:
|
||||
DWORD heap_chunk;
|
||||
DWORD sys_mount_table_counter;
|
||||
tty_list tty;
|
||||
LONG last_used_bindresvport;
|
||||
DWORD obcaseinsensitive;
|
||||
|
Loading…
x
Reference in New Issue
Block a user