diff options
author | Christopher Faylor <me@cgf.cx> | 2002-08-27 04:10:54 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-08-27 04:10:54 +0000 |
commit | 6d8bd861e2503d0ab3c3cb64016b50700236265b (patch) | |
tree | 653c392b174694dbac0b9056e4d87a75a2e864e1 /winsup/cygwin/child_info.h | |
parent | 4854ee501ebdb755be22392f8552a05284263a65 (diff) | |
download | cygnal-6d8bd861e2503d0ab3c3cb64016b50700236265b.tar.gz cygnal-6d8bd861e2503d0ab3c3cb64016b50700236265b.tar.bz2 cygnal-6d8bd861e2503d0ab3c3cb64016b50700236265b.zip |
* child_info.h: Add _PROC_WHOOPS enum value.
(CURR_CHILD_INFO_MAGIC): Update.
(child_info::magic): Make 'long'.
* cygheap.h: Export _cygheap_start.
* cygheap.cc: Don't declare _cygheap_start.
* cygmagic: Use cksum to produce checksums. Append 'U' to end of checksum.
* dcrt0.cc (initial_env): Calculate sleep ms before reusing buffer.
(_dll_crt0): Detect cygheap mismatch as indicative of different cygwin version.
Set child_proc_info to NULL when _PROC_WHOOPS.
(multiple_cygwin_problem): If child_info specific problem, then set
child_proc_info type to _PROC_WHOOPS.
* shared_info.h (CURR_MOUNT_MAGIC): Update.
(CURR_SHARED_MAGIC): Ditto.
Diffstat (limited to 'winsup/cygwin/child_info.h')
-rw-r--r-- | winsup/cygwin/child_info.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/winsup/cygwin/child_info.h b/winsup/cygwin/child_info.h index 4b68e4281..1aca7247b 100644 --- a/winsup/cygwin/child_info.h +++ b/winsup/cygwin/child_info.h @@ -1,6 +1,6 @@ -/* childinfo.h: shared child info for cygwin +/* child_info.h: shared child info for cygwin - Copyright 2000, 2002 Red Hat, Inc. + Copyright 2000, 2001, 2002 Red Hat, Inc. This file is part of Cygwin. @@ -14,7 +14,8 @@ enum { _PROC_EXEC, _PROC_SPAWN, - _PROC_FORK + _PROC_FORK, + _PROC_WHOOPS }; #define OPROC_MAGIC_MASK 0xff00ff00 @@ -28,7 +29,7 @@ enum #define EXEC_MAGIC_SIZE sizeof(child_info) -#define CURR_CHILD_INFO_MAGIC 0x8b3c +#define CURR_CHILD_INFO_MAGIC 0xb3836013U /* NOTE: Do not make gratuitous changes to the names or organization of the below class. The layout is checksummed to determine compatibility between @@ -39,7 +40,7 @@ public: DWORD zero[4]; // must be zeroed DWORD cb; // size of this record DWORD intro; // improbable string - unsigned short magic; // magic number unique to child_info + unsigned long magic; // magic number unique to child_info unsigned short type; // type of record, exec, spawn, fork int cygpid; // cygwin pid of child process HANDLE subproc_ready; // used for synchronization with parent |