From 9661a0c8b7f59960d6d180ffa2872710f5253913 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 15 Sep 2001 00:47:44 +0000 Subject: * dcrt0.cc (dll_crt0_1): Create vfork main storage here so that it can be queried in waitsig later. * sigproc.cc (wait_sig): Don't deliver a signal if in a vfork. * fork.cc (vfork): Deliver all signals on parent return from vfork. --- winsup/cygwin/sigproc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/sigproc.h') diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index 38e65fa..0afb027 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -75,7 +75,8 @@ public: } sigframe (): st (NULL) {} - sigframe (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) + sigframe (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) {init (t, ebp);} + void init (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) { if (!t.frame && t.id == GetCurrentThreadId ()) set (t, ebp); -- cgit v1.1