diff options
author | Christopher Faylor <me@cgf.cx> | 2008-03-27 01:50:40 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-03-27 01:50:40 +0000 |
commit | 93d606f60aed779c555017828656c8a4e3c9c6a9 (patch) | |
tree | a1064ee801fa9606f9c06a4dc7f03f79db0314d9 /winsup/cygwin/exceptions.cc | |
parent | 73de02f44b83eeccdacf7b803cc37074660f75b2 (diff) | |
download | cygnal-93d606f60aed779c555017828656c8a4e3c9c6a9.tar.gz cygnal-93d606f60aed779c555017828656c8a4e3c9c6a9.tar.bz2 cygnal-93d606f60aed779c555017828656c8a4e3c9c6a9.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 6eb17153a..86b793b6f 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -153,7 +153,7 @@ open_stackdumpfile () p, strlen (p)) * sizeof (WCHAR); RtlAppendUnicodeToString (&ucore, L".stackdump"); /* Create an object attribute which refers to <progname>.stackdump - in Cygwin's cwd. */ + in Cygwin's cwd. */ InitializeObjectAttributes (&attr, &ucore, OBJ_CASE_INSENSITIVE, cygheap->cwd.get_handle (), NULL); HANDLE h; |