OSDN Git Service

* hookapi.cc (find_first_notloaded_dll): New function.
authorcgf <cgf>
Thu, 27 Mar 2008 01:50:38 +0000 (01:50 +0000)
committercgf <cgf>
Thu, 27 Mar 2008 01:50:38 +0000 (01:50 +0000)
commitc683008eb342b3f472165f8a0418da71c22b5f93
tree8f6ca9427cd70f798aef65f1d2f0270defd97110
parent3b1f2d23ad3c8bd8fa4e680f72bf5b57760d8f0c
* 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/ChangeLog
winsup/cygwin/dtable.h
winsup/cygwin/exceptions.cc
winsup/cygwin/hookapi.cc
winsup/cygwin/ntdll.h
winsup/cygwin/pinfo.cc
winsup/cygwin/pinfo.h
winsup/cygwin/sigproc.cc
winsup/cygwin/spawn.cc
winsup/cygwin/syscalls.cc
winsup/cygwin/winsup.h