* 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
winsup/cygwin
|
@ -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>
|
2011-05-24 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* pinfo.h (struct _pinfo): Reduce size of progname array slightly.
|
* 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)
|
unsigned *flags)
|
||||||
{
|
{
|
||||||
bool chroot_ok = !cygheap->root.exists ();
|
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;
|
MALLOC_CHECK;
|
||||||
|
|
||||||
dev.devn = FH_FS;
|
dev.devn = FH_FS;
|
||||||
|
|
|
@ -146,7 +146,6 @@ struct device;
|
||||||
class mount_info
|
class mount_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DWORD sys_mount_table_counter;
|
|
||||||
int nmounts;
|
int nmounts;
|
||||||
mount_item mount[MAX_MOUNTS];
|
mount_item mount[MAX_MOUNTS];
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ public:
|
||||||
/* Data accessible to all tasks */
|
/* Data accessible to all tasks */
|
||||||
|
|
||||||
|
|
||||||
#define CURR_SHARED_MAGIC 0xb41ae342U
|
#define CURR_SHARED_MAGIC 0x34e5bfa7U
|
||||||
|
|
||||||
#define USER_VERSION 1
|
#define USER_VERSION 1
|
||||||
#define CURR_USER_MAGIC 0x6112afb3U
|
#define CURR_USER_MAGIC 0x6112afb3U
|
||||||
|
@ -44,7 +44,6 @@ class shared_info
|
||||||
DWORD cb;
|
DWORD cb;
|
||||||
public:
|
public:
|
||||||
DWORD heap_chunk;
|
DWORD heap_chunk;
|
||||||
DWORD sys_mount_table_counter;
|
|
||||||
tty_list tty;
|
tty_list tty;
|
||||||
LONG last_used_bindresvport;
|
LONG last_used_bindresvport;
|
||||||
DWORD obcaseinsensitive;
|
DWORD obcaseinsensitive;
|
||||||
|
|
Loading…
Reference in New Issue