From 994fe87b6ec1c4e59d6b9894ab31963666d70922 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 19 Jan 2002 18:15:23 +0000 Subject: * Makefile.in (new-cygwin1.dll): Just use -lsupc++ for link. * sigproc.cc (proc_exists): Change existence criteria. * sync.h (new_muto): Add volatile to definition to avoid gcc optimization problems. --- winsup/cygwin/sigproc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/sigproc.cc') diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index ef70fa232..bfe5f9901 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -228,7 +228,7 @@ pid_exists (pid_t pid) BOOL __stdcall proc_exists (_pinfo *p) { - return p && !(p->process_state & (PID_INITIALIZING | PID_EXITED)); + return p && !(p->process_state & PID_EXITED); } /* Return 1 if this is one of our children, zero otherwise. -- cgit v1.2.3