2003-09-25 Pierre Humblet <pierre.humblet@ieee.org>
* shared_info.h: Update CURR_USER_MAGIC, CURR_SHARED_MAGIC and SHARED_INFO_CB. (mount_info::cb): Delete. (mount_info::version): Delete. (shared_info::delqueue): Delete. * Makefile.in: Do magic for USER_MAGIC, class user_info, instead of for mount_info.
This commit is contained in:
parent
cd2bce7142
commit
64150cfc6a
|
@ -1,3 +1,13 @@
|
||||||
|
2003-09-25 Pierre Humblet <pierre.humblet@ieee.org>
|
||||||
|
|
||||||
|
* shared_info.h: Update CURR_USER_MAGIC, CURR_SHARED_MAGIC and
|
||||||
|
SHARED_INFO_CB.
|
||||||
|
(mount_info::cb): Delete.
|
||||||
|
(mount_info::version): Delete.
|
||||||
|
(shared_info::delqueue): Delete.
|
||||||
|
* Makefile.in: Do magic for USER_MAGIC, class user_info, instead
|
||||||
|
of for mount_info.
|
||||||
|
|
||||||
2003-09-24 Christopher Faylor <cgf@redhat.com>
|
2003-09-24 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* include/tzfile.h: Add some missing entries.
|
* include/tzfile.h: Add some missing entries.
|
||||||
|
|
|
@ -377,7 +377,7 @@ version.cc winver.o: winver_stamp
|
||||||
@ :
|
@ :
|
||||||
|
|
||||||
shared_info_magic.h: cygmagic shared_info.h
|
shared_info_magic.h: cygmagic shared_info.h
|
||||||
/bin/sh ${word 1,$^} $@ "$(CC) -x c" ${word 2,$^} MOUNT_MAGIC 'class mount_info' SHARED_MAGIC 'class shared_info'
|
/bin/sh ${word 1,$^} $@ "$(CC) -x c" ${word 2,$^} USER_MAGIC 'class user_info' SHARED_MAGIC 'class shared_info'
|
||||||
|
|
||||||
child_info_magic.h: cygmagic child_info.h
|
child_info_magic.h: cygmagic child_info.h
|
||||||
/bin/sh ${word 1,$^} $@ "$(CC) -x c" ${word 2,$^} CHILD_INFO_MAGIC 'class child_info'
|
/bin/sh ${word 1,$^} $@ "$(CC) -x c" ${word 2,$^} CHILD_INFO_MAGIC 'class child_info'
|
||||||
|
|
|
@ -43,8 +43,8 @@ class mount_item
|
||||||
#define MAX_MOUNTS 30
|
#define MAX_MOUNTS 30
|
||||||
|
|
||||||
#define USER_VERSION 1 // increment when mount table changes and
|
#define USER_VERSION 1 // increment when mount table changes and
|
||||||
#define USER_VERSION_MAGIC CYGWIN_VERSION_MAGIC (MOUNT_MAGIC, USER_VERSION)
|
#define USER_VERSION_MAGIC CYGWIN_VERSION_MAGIC (USER_MAGIC, USER_VERSION)
|
||||||
#define CURR_MOUNT_MAGIC 0x6dd73a3fU
|
#define CURR_USER_MAGIC 0x8dc7b1d5U
|
||||||
|
|
||||||
class reg_key;
|
class reg_key;
|
||||||
struct device;
|
struct device;
|
||||||
|
@ -55,8 +55,6 @@ struct device;
|
||||||
class mount_info
|
class mount_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DWORD version;
|
|
||||||
unsigned cb;
|
|
||||||
DWORD sys_mount_table_counter;
|
DWORD sys_mount_table_counter;
|
||||||
int nmounts;
|
int nmounts;
|
||||||
mount_item mount[MAX_MOUNTS];
|
mount_item mount[MAX_MOUNTS];
|
||||||
|
@ -147,9 +145,9 @@ public:
|
||||||
cygwin_version.api_minor)
|
cygwin_version.api_minor)
|
||||||
#define SHARED_VERSION_MAGIC CYGWIN_VERSION_MAGIC (SHARED_MAGIC, SHARED_VERSION)
|
#define SHARED_VERSION_MAGIC CYGWIN_VERSION_MAGIC (SHARED_MAGIC, SHARED_VERSION)
|
||||||
|
|
||||||
#define SHARED_INFO_CB 47112
|
#define SHARED_INFO_CB 21008
|
||||||
|
|
||||||
#define CURR_SHARED_MAGIC 0x359218a2U
|
#define CURR_SHARED_MAGIC 0x818f75beU
|
||||||
|
|
||||||
/* NOTE: Do not make gratuitous changes to the names or organization of the
|
/* NOTE: Do not make gratuitous changes to the names or organization of the
|
||||||
below class. The layout is checksummed to determine compatibility between
|
below class. The layout is checksummed to determine compatibility between
|
||||||
|
@ -163,7 +161,6 @@ class shared_info
|
||||||
DWORD sys_mount_table_counter;
|
DWORD sys_mount_table_counter;
|
||||||
|
|
||||||
tty_list tty;
|
tty_list tty;
|
||||||
delqueue_list delqueue;
|
|
||||||
void initialize ();
|
void initialize ();
|
||||||
unsigned heap_chunk_size ();
|
unsigned heap_chunk_size ();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue