* exceptions.cc: Move global variable sigExeced...

* globals.cc: here.
* pinfo.cc (pinfo::maybe_set_exit_code_from_windows): Remove now unneeded
declaration.
This commit is contained in:
Christopher Faylor 2009-10-06 03:39:38 +00:00
parent 3772467948
commit a12518a37c
4 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2009-10-05 Charles Wilson <cygwin@cwilson.fastmail.fm>
* exceptions.cc: Move global variable sigExeced...
* globals.cc: here.
* pinfo.cc (pinfo::maybe_set_exit_code_from_windows): Remove now
unneeded declaration.
2009-10-04 Dave Korn <dave.korn.cygwin@gmail.com>
* Makefile.in (CFLAGS): Add -mno-use-libstdc-wrappers.

View File

@ -40,7 +40,6 @@ extern void sigdelayed ();
};
extern child_info_spawn *chExeced;
int NO_COPY sigExeced;
static BOOL WINAPI ctrl_c_handler (DWORD);
static WCHAR windows_system_directory[1024];

View File

@ -23,6 +23,7 @@ HANDLE NO_COPY hProcToken;
HANDLE NO_COPY hProcImpToken;
HMODULE NO_COPY cygwin_hmodule;
HANDLE hExeced;
int NO_COPY sigExeced;
/* program exit the program */

View File

@ -140,7 +140,6 @@ pinfo::maybe_set_exit_code_from_windows ()
{
DWORD x = 0xdeadbeef;
DWORD oexitcode = self->exitcode;
extern int sigExeced;
if (hProcess && !(self->exitcode & EXITCODE_SET))
{