From d3b593aa446dd87422aa83411177cd0b8248bec7 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 5 Jul 2005 20:20:48 +0000 Subject: * 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. --- winsup/cygwin/sigproc.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/sigproc.cc') diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 3c7d19f40..93844c48a 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -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); -- cgit v1.2.3