newlib-cygwin/winsup
Christopher Faylor 2380dfe14c * pinfo.h (_pinfo::set_exit_state): Declare new function.
(pinfo::exit): Move here from _pinfo::exit.
* sigproc.cc (child_info::sync): Use new function to set exitcode and
process_state.
* pinfo.cc (_pinfo::exit): Ditto.
(proc_waiter): Ditto.
(_pinfo::set_exit_state): Define new function.
(_pinfo::dup_proc_pipe): Close handle when there is no parent process around to
care about the exit value.
* dcrt0.cc (dll_crt0_0): Move subproc_ready synchronization later to make sure
that myself is still mapped in parent.
(do_exit): Reflect movement to pinfo::exit.
(__api_fatal): Ditto.
* exceptions.cc (signal_exit): Ditto.
* errno.cc (errmap): Map PROC_NOT_FOUND.
* init.cc (dll_entry): Release myself before exiting.
* sigproc.cc (proc_can_be_signalled): Set errno appropriately.
(sig_send): Ditto.  Also remove ill-advised test for !myself->sendsig since
this is an indication of a process which is still initializating -- it is not
an error.
(child_info::sync): Don't set exitcode here.  Assume that will happen in
proc_waiter, if necessary.
* spawn.cc (spawn_guts): Delay "wait_for_myself" logic until later.  Don't wait
at all if the process has already exited.  Reflect movement to pinfo::exit.
2005-01-11 15:31:04 +00:00
..
cygserver * bsd_mutex.cc: Include limits.h. 2004-12-30 15:58:27 +00:00
cygwin * pinfo.h (_pinfo::set_exit_state): Declare new function. 2005-01-11 15:31:04 +00:00
doc * path.sgml: Encode programming example with CDATA. 2004-12-31 01:13:28 +00:00
mingw * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat, 2005-01-11 13:34:42 +00:00
subauth * Makefile.in: Comment out install for now. 2001-10-12 20:02:41 +00:00
testsuite * cygrun.c (main): Fix exit code so that it reflects UNIX style. 2005-01-10 04:13:39 +00:00
utils * .sgml: Cleanup markup for XML validity. 2004-12-24 21:58:38 +00:00
w32api 2005-01-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> 2005-01-10 11:59:25 +00:00
CYGWIN_LICENSE Change location. 2003-01-13 21:11:19 +00:00
ChangeLog * Makefile.in: Make cygserver depending on cygwin. 2003-11-23 09:02:26 +00:00
Makefile.common typo 2003-08-06 03:22:18 +00:00
Makefile.in * Makefile.in: Make cygserver depending on cygwin. 2003-11-23 09:02:26 +00:00
configure * configure.in: Make --use-server the default. 2003-11-20 19:31:52 +00:00
configure.in * configure.in: Make --use-server the default. 2003-11-20 19:31:52 +00:00