This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog child_info.h dcrt0 ...
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 24 Nov 2004 05:48:32 -0000
- Subject: src/winsup/cygwin ChangeLog child_info.h dcrt0 ...
CVSROOT: /cvs/src
Module name: src
Branch: noreparent
Changes by: cgf@sourceware.org 2004-11-24 05:48:32
Modified files:
winsup/cygwin : ChangeLog child_info.h dcrt0.cc fork.cc
pinfo.cc pinfo.h select.cc sigproc.cc spawn.cc
Log message:
* child_info.h (child_info_spawn::hexec_proc): Eliminate.
* dcrt0.cc (dll_crt0_0): Remove hexec_proc stuff.
* fork.cc (fork_child): Remove call to pinfo_fixup_after_fork.
* pinfo.cc (set_myself): Close and zero pid_handle if set.
(pinfo_fixup_after_fork): Delete.
(proc_waiter): Don't close vchild.hProcess here. Do that when we are remove
the vchild from procs. Save hProcess as pid_handle only on first reparent
operation.
(pinfo::wait): Don't set pid_handle here.
(pinfo::alert_parent): Always try to send signal. If unsuccessful then close
and zero wr_proc_pipe.
* pinfo.h (pinfo::pinfo): Make sure that appropriate parts of the class are
zeroed on construction.
(pinfo::alert_parent): Take char argument.
(pinfo_fixup_after_fork): Delete declaration.
(hexec_proc): Ditto.
* sigproc.cc (remove_proc): Close pid_handle and hProcess if appropriate.
* spawn.cc (spawn_guts): Set cygheap->pid_handle on first exec.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=noreparent&r1=1.2592.2.3&r2=1.2592.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/child_info.h.diff?cvsroot=src&only_with_tag=noreparent&r1=1.45.2.1&r2=1.45.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.223.2.3&r2=1.223.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.137.2.3&r2=1.137.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.121.2.9&r2=1.121.2.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.h.diff?cvsroot=src&only_with_tag=noreparent&r1=1.64.2.4&r2=1.64.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.102.2.2&r2=1.102.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.201.2.7&r2=1.201.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.153.2.5&r2=1.153.2.6