From 57013c31ecdc90515d8fabf1842831a9ab2ffca9 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 10 Oct 2001 02:32:12 +0000 Subject: 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. --- winsup/cygwin/init.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'winsup/cygwin/init.cc') diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc index 5d2c75056..525ec29b1 100644 --- a/winsup/cygwin/init.cc +++ b/winsup/cygwin/init.cc @@ -13,8 +13,6 @@ details. */ #include "thread.h" #include "perprocess.h" -extern HMODULE cygwin_hmodule; - int NO_COPY dynamically_loaded; extern "C" int -- cgit v1.2.3