4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-28 18:10:23 +08:00
Christopher Faylor 8dca9e2302 * 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.
2002-08-18 05:49:26 +00:00
..
2001-03-05 21:29:24 +00:00
2001-09-11 20:01:02 +00:00
2001-03-05 21:29:24 +00:00
2001-12-31 04:00:07 +00:00
2000-02-17 19:38:33 +00:00
2001-09-17 21:29:19 +00:00
2001-09-11 20:01:02 +00:00
2002-06-10 19:59:19 +00:00
2001-03-05 21:29:24 +00:00
2001-03-05 21:29:24 +00:00
2001-04-12 04:04:53 +00:00
2001-03-21 16:06:22 +00:00
2000-02-17 19:38:33 +00:00
2000-12-10 22:19:50 +00:00