* pinfo.cc (set_myself): Add build date to strace output.

* sigproc.cc (proc_subproc): Only clear wait event when not attending to a
signal.
This commit is contained in:
Christopher Faylor 2000-02-28 16:25:34 +00:00
parent 297b7a63c8
commit 716254905c
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,12 @@
Mon Feb 28 11:23:29 2000 Christopher Faylor <cgf@cygnus.com>
* pinfo.cc (set_myself): Add build date to strace output.
Mon Feb 28 11:17:30 2000 Eric Fifer <EFifer@sanwaint.com>
* sigproc.cc (proc_subproc): Only clear wait event when not attending
to a signal.
Mon Feb 28 00:08:09 2000 Christopher Faylor <cgf@cygnus.com>
* configure.in: Remove --enable-strace-hhmmss option.

View File

@ -60,6 +60,7 @@ set_myself (pinfo *p)
strace_printf (1, "DLL version: %d.%d, api: %d.%d",
cygwin_version.dll_major, cygwin_version.dll_minor,
cygwin_version.api_major, cygwin_version.api_minor);
strace_printf (1, "DLL build: %s", cygwin_version.dll_build_date);
strace_printf (1, "OS version: Windows %s", osname);
strace_printf (1, "**********************************************");
}

View File

@ -354,9 +354,10 @@ proc_subproc (DWORD what, DWORD val)
{
sip_printf ("waiting thread found no children");
HANDLE oldw = w->next->ev;
w->next->ev = NULL;
if (clearing)
w->next->status = -1; /* flag that a signal was received */
else
w->next->ev = NULL;
if (!SetEvent (oldw))
system_printf ("couldn't wake up wait event %p, %E", oldw);
w->next = w->next->next;