From 93d606f60aed779c555017828656c8a4e3c9c6a9 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 27 Mar 2008 01:50:40 +0000 Subject: * hookapi.cc (find_first_notloaded_dll): New function. * pinfo.cc (status_exit): New function. Issue message when dll not found. Use find_first_notloaded_dll to find a nonexistent dll. (pinfo::maybe_set_exit_code_from_windows): Call status_exit when exit code >= 0xc0000000UL. * sigproc.cc (child_info::proc_retry): Return exit code when STATUS_DLL_NOT_FOUND. * spawn.cc (spawn_guts): Minor cleanup. * syscalls.cc (close_all_files): Don't actually close stderr filehandle. Just make it noninheritable. * winsup.h (find_first_notloaded_dll): Declare new function. * ntdll.h: Add several missing NTSTATUS defines. --- winsup/cygwin/pinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/pinfo.h') diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h index 9d45bd2cb..9976ad1a0 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -45,7 +45,7 @@ public: pid_t pid; /* Various flags indicating the state of the process. See PID_ - constants below. */ + constants in . */ DWORD process_state; DWORD exitcode; /* set when process exits */ -- cgit v1.2.3