aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/fork.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-02-01 18:29:12 +0000
committerChristopher Faylor <me@cgf.cx>2004-02-01 18:29:12 +0000
commit9e1ad59de6cdb91cebc057205dd22c2d1dc73673 (patch)
tree8590c27111eae7a7d0e54d37b3af6b400f79af13 /winsup/cygwin/fork.cc
parentf6565cd1a68b4a4b7c43b588513cd802597bc5d3 (diff)
downloadnewlib-9e1ad59de6cdb91cebc057205dd22c2d1dc73673.zip
newlib-9e1ad59de6cdb91cebc057205dd22c2d1dc73673.tar.gz
newlib-9e1ad59de6cdb91cebc057205dd22c2d1dc73673.tar.bz2
* cygerrno.h (set_errno): Set global errno whenever setting thread specific
version. * debug.cc (__set_errno): Ditto. * exceptions.cc (handle_sigsuspend): Remove spurious sig_dispatch_pending call. (set_signal_mask): When there seem to be pending signals to dispatch, tell signal_dispatch_pending/sig_send not to specifically call any handlers. * sigproc.h (sig_dispatch_pending): Change declaration to void. * sigproc.cc (sig_dispatch_pending): Change definition to void. Take an argument to determine whether to tell sig_send to wait for handler to be called. * sigproc.cc (sig_send): Don't call signal handler when sig == __SIGFLUSHFAST. (wait_sig): Honor __SIGFLUSHFAST. Guard against sigpacket::process nuking si_signo. * sigproc.h (__SIGFLUSHFAST): Define new special signal. (sig_dispatch_pending): Change declaration to void. Take optional boolean argument. * fork.cc (vfork): Add debugging output.
Diffstat (limited to 'winsup/cygwin/fork.cc')
-rw-r--r--winsup/cygwin/fork.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc
index 2471ad2..681675a 100644
--- a/winsup/cygwin/fork.cc
+++ b/winsup/cygwin/fork.cc
@@ -698,6 +698,7 @@ extern "C" int
vfork ()
{
#ifndef NEWVFORK
+ debug_printf ("stub called");
return fork ();
#else
vfork_save *vf = get_vfork_val ();