diff options
author | Christopher Faylor <me@cgf.cx> | 2001-12-26 21:35:16 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-12-26 21:35:16 +0000 |
commit | aaf219f01e5cd7fac54fafae24974e06a737b9ee (patch) | |
tree | 05a51aa38b596ee6cf79693387ff97ec4035ed56 /winsup/cygwin/child_info.h | |
parent | dcd8b9be826107fd74cc91052825730f0f21fb62 (diff) | |
download | cygnal-aaf219f01e5cd7fac54fafae24974e06a737b9ee.tar.gz cygnal-aaf219f01e5cd7fac54fafae24974e06a737b9ee.tar.bz2 cygnal-aaf219f01e5cd7fac54fafae24974e06a737b9ee.zip |
* cygmagic: Add define name to warning.
* dcrt0.cc (_dll_crt0): Check for changes in child_info size.
(multiple_cygwin_problem): Avoid "proc" errors when testing. Just assume new
cygwin proc.
* shared_info.h (mount_info): Add 'cb' element for sanity checks.
(shared_info): Ditto.
* child_info.h (child_info): Add fhandler_union_size element for sanity
checking.
* shared.cc (open_shared): Detect shared region size mismatch between parent
and child.
(shared_info::initialize): Detect shared region size mismatch with expectation.
(memory_Init): Ditto.
* sigproc.cc (init_child_info): Correctly set cb in passed structure.
* shared.cc (open_shared):
Diffstat (limited to 'winsup/cygwin/child_info.h')
-rw-r--r-- | winsup/cygwin/child_info.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/child_info.h b/winsup/cygwin/child_info.h index 36dcd95aa..4b249a808 100644 --- a/winsup/cygwin/child_info.h +++ b/winsup/cygwin/child_info.h @@ -28,7 +28,7 @@ enum #define EXEC_MAGIC_SIZE sizeof(child_info) -#define CURR_CHILD_INFO_MAGIC 0xba17 +#define CURR_CHILD_INFO_MAGIC 0x8b3c /* NOTE: Do not make gratuitous changes to the names or organization of the below class. The layout is checksummed to determine compatibility between @@ -49,6 +49,7 @@ public: init_cygheap *cygheap; void *cygheap_max; HANDLE cygheap_h; + unsigned fhandler_union_cb; }; class child_info_fork: public child_info |