CVSROOT: /cvs/src Module name: src Branch: noreparent Changes by: [EMAIL PROTECTED] 2004-11-21 04:39:13
Modified files: winsup/cygwin : ChangeLog cygheap.h pinfo.cc pinfo.h spawn.cc Log message: * cygheap.h (init_cygheap::pid_handle): New element. * pinfo.cc (set_myself): Clear previously existing cygheap->pid_handle when a new process has been started. (pinfo::wait): Make sure that a handle to the newly forked/spawned process is kept around so that the pid will not be reused. * pinfo.h (_pinfo::pid_handle): Move. (pinfo::pid_handle): to here. * spawn.cc (spawn_guts): Create a pid_handle in cygheap prior to spawning to ensure that the pid does not get reused during the lifetime of the "cygwin pid". Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=noreparent&r1=1.2592.2.2&r2=1.2592.2.3 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.h.diff?cvsroot=src&only_with_tag=noreparent&r1=1.91&r2=1.91.2.1 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.121.2.8&r2=1.121.2.9 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.h.diff?cvsroot=src&only_with_tag=noreparent&r1=1.64.2.3&r2=1.64.2.4 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.153.2.4&r2=1.153.2.5