diff options
author | Christopher Faylor <me@cgf.cx> | 2001-10-10 06:32:12 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-10-10 06:32:12 +0400 |
commit | 57013c31ecdc90515d8fabf1842831a9ab2ffca9 (patch) | |
tree | df20a782a28fbb9fe27297f6814f7a4ea0c1a501 /winsup/cygwin/winsup.h | |
parent | b2a8510b89313bbac97385863e87fc19d73f2004 (diff) |
Throughout, rename PROC_FORK1 to PROC_FORK.
* child_info.h: Rename PROC_* to _PROC_*. Define PROC_* with additional
testing magic. Eliminate old PROC_FORK and rename PROC_FORK1 to PROC_FORK.
* dcrt0.cc (_cygwin_testing_magic): New variable. Added to magic number in
proc_info.
(alloc_stack): Eliminate old PROC_FORK test.
(dll_crt0_1): Ditto. Use _PROC_* enums for test. Subtract
_cygwin_testing_magic from child_proc_info->type so that normal cygwin programs
invoked by test suite programs do not consider themselves to be in a cygwin
environment.
(_dll_crt0): Ditto. Move environment checks to initial_env function to
conserve on stack space.
(initial_env): New function. Checks for testing and debugging environment
variables.
* init.cc (cygwin_hmodule): Move declaration.
* winsup.h: Declare variables used for cygwin testing.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 755d302bb..10f652dcb 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -261,4 +261,8 @@ extern BOOL display_title; extern HANDLE hMainThread; extern HANDLE hMainProc; +extern bool cygwin_testing; +extern unsigned _cygwin_testing_magic; +extern HMODULE cygwin_hmodule; + #endif /* defined __cplusplus */ |