* dcrt0.cc (cygwin_exit): Mark as "noreturn".
* sigproc.cc (child_info::ready): Don't signal parent that we are a cygwin process if we are dynamically loaded.
This commit is contained in:
parent
57000a5d5c
commit
d3b593aa44
|
@ -1,3 +1,9 @@
|
|||
2005-07-05 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* dcrt0.cc (cygwin_exit): Mark as "noreturn".
|
||||
* sigproc.cc (child_info::ready): Don't signal parent that we are a
|
||||
cygwin process if we are dynamically loaded.
|
||||
|
||||
2005-07-05 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* malloc.cc: Update to version 2.8.2.
|
||||
|
|
|
@ -41,7 +41,7 @@ details. */
|
|||
|
||||
#define PREMAIN_LEN (sizeof (user_data->premain) / sizeof (user_data->premain[0]))
|
||||
|
||||
extern "C" void cygwin_exit (int);
|
||||
extern "C" void cygwin_exit (int) __attribute__ ((noreturn));
|
||||
|
||||
void ld_preload ();
|
||||
|
||||
|
|
|
@ -771,7 +771,9 @@ child_info::ready (bool execed)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!SetEvent (subproc_ready))
|
||||
if (dynamically_loaded)
|
||||
sigproc_printf ("not really ready");
|
||||
else if (!SetEvent (subproc_ready))
|
||||
api_fatal ("SetEvent failed");
|
||||
else
|
||||
sigproc_printf ("signalled %p that I was ready", subproc_ready);
|
||||
|
|
Loading…
Reference in New Issue