This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
winsup/cygwin ChangeLog cygwin.din dcrt0.cc fo ...
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 18 Aug 2002 05:49:26 -0000
- Subject: winsup/cygwin ChangeLog cygwin.din dcrt0.cc fo ...
CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: cgf@sources.redhat.com 2002-08-17 22:49:26
Modified files:
cygwin : ChangeLog cygwin.din dcrt0.cc fork.cc malloc.cc
perthread.h spawn.cc syscalls.cc
cygwin/include/cygwin: version.h
Log message:
* perthread.h (vfork_save): Add ctty, sid, pgid, exitval fields.
(vfork_save::restore_pid): New method.
(vfork_save::restore_exit): New method.
* fork.cc (vfork): Save ctty, sid, pgid and restore them when returning to
"parent". Use exitval field if exiting but never created a new process.
* syscalls.cc (setsid): Detect when in "vfork" and force an actual fork so that
pid will be allocated (UGLY!).
(getsid): New function.
* dcrt0.cc (do_exit): Use vfork_save::restore_exit method for returning from a
vfork.
* spawn.cc (spawnve): Use vfork_save::{restore_pid,restore_exit} methods for
returning from vfork.
* cygwin.din: Export getsid.
* include/cygwin/version.h: Bump api minor number.
* malloc.cc: #ifdef sYSTRIm for when MORECORE_CANNOT_TRIM is true.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1444&r2=1.1445
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygwin.din.diff?cvsroot=uberbaum&r1=1.57&r2=1.58
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dcrt0.cc.diff?cvsroot=uberbaum&r1=1.145&r2=1.146
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaum&r1=1.90&r2=1.91
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/malloc.cc.diff?cvsroot=uberbaum&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/perthread.h.diff?cvsroot=uberbaum&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaum&r1=1.112&r2=1.113
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.223&r2=1.224
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=uberbaum&r1=1.71&r2=1.72