This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/winsup/cygwin ChangeLog dcrt0.cc errno.cc ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	cgf@sourceware.org	2005-01-11 15:31:05

Modified files:
	winsup/cygwin  : ChangeLog dcrt0.cc errno.cc exceptions.cc 
	                 init.cc pinfo.cc pinfo.h sigproc.cc spawn.cc 
	                 strace.cc 

Log message:
	* 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.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2658&r2=1.2659
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.227&r2=1.228
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/errno.cc.diff?cvsroot=src&r1=1.46&r2=1.47
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&r1=1.222&r2=1.223
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/init.cc.diff?cvsroot=src&r1=1.41&r2=1.42
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&r1=1.140&r2=1.141
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.h.diff?cvsroot=src&r1=1.73&r2=1.74
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=src&r1=1.212&r2=1.213
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.161&r2=1.162
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/strace.cc.diff?cvsroot=src&r1=1.45&r2=1.46


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]