Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-12 08:38:29 +0400
committerChristopher Faylor <me@cgf.cx>2000-10-12 08:38:29 +0400
commitec300c997904f1db79cd5ca49f798ae08a3eedba (patch)
treef0573247cacbf2efd21dd594bf3838c036035d4c /winsup/cygwin/wait.cc
parent8251f53ddda33e780b8043665e638a558e0ef719 (diff)
* errno.cc (seterrno_from_win_error): Fix debugging output.
* fhandler.cc (fhandler_base::fstat): Move to inline method in fhandler.h. (fhandler_base::set_io_handle): Ditto. * fhandler.h (fhandler_base): Make some methods inline. * fhandler_console.cc (fhandler_console::write_normal): Make buffer larger. * sigproc.h (sigframe::sigframe): Actually use set ebp parameter correctly. * spawn.cc (spawn_guts): Set dwProcessId when exec'ing. Just exit immediately after reparenting. * syscalls.cc: Sprinkle sigframe stuff throughout. * wait.cc (wait4): Set signal frame here. * dcrt0.cc (__api_fatal): Don't rely on small_printf to display errors. Always display problems to the console, if possible.
Diffstat (limited to 'winsup/cygwin/wait.cc')
-rw-r--r--winsup/cygwin/wait.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc
index 4ad5afd03..f442ab593 100644
--- a/winsup/cygwin/wait.cc
+++ b/winsup/cygwin/wait.cc
@@ -50,6 +50,7 @@ wait4 (int intpid, int *status, int options, struct rusage *r)
int rc;
waitq *w;
HANDLE waitfor;
+ sigframe thisframe (mainthread);
sigproc_printf ("here");
if (options & ~(WNOHANG | WUNTRACED))