newlib-cygwin/winsup
Christopher Faylor ce95c6407e * child_info.h (child_info::cygheap_h): Delete.
(child_info::dwProcessId): New field.
* cygheap.cc (init_cheap): Delete.
(dup_now): Ditto.
(cygheap_setup_for_child): Ditto.
(cygheap_setup_for_child_cleanup): Ditto.
(cygheap_fixup_in_child): Simplify.  Use new "child_copy" function to copy heap
from parent.
(_csbrk): Don't attempt allocation if within cygheap section.  Fix so that more
than one allocation will succeed.
(cygheap_init): Reset possibly-nonzero region to zero.
* cygheap.h (cygheap_setup_for_child): Delete declaration.
(cygheap_setup_for_child_cleanup): Ditto.
(cygheap_start): Define as an array.
* cygwin.sc: Modernize.  Remove unneeded sections.  Define cygheap here.
* dcrt0.cc (do_exit): Reflect argument change to close_all_files.
* dtable.cc (dtable::vfork_parent_restore): Ditto.
* dtable.h: Ditto.
* fhandler.h: Ditto.
* fork.cc (fork_copy): Call ReadProcessMemory if there is no thread
(indicating that we're execing).
(fork_child): Don't mess with hParent.
(fork_parent): Remove hParent stuff.  It happens earlier now.  Remove call to
cygheap_setup_for_child* stuff.
(fork): Put child_info_stuff in grouped structure.  Issue error if parent
handle is not set.
(child_copy): New function.
* sigproc.cc (child_info::child_info): Put cygheap settings here.  Set parent
handle.
(child_info::~child_info): Close parent handle if it exists.
* spawn.cc (spawn_guts): Reorganize so that ciresrv is allocated at only the
last minute so that cygheap changes are reflected.  Delete cygheap_setup*
calls.
* syscalls.cc (close_all_files): Add an argument to flag when the fd entry
should be released.
* winsup.h (close_all_files): Add an argument to close_all_files declaration.
Declare child_copy.
2005-06-01 03:46:56 +00:00
..
cygserver * bsd_mutex.cc (msleep_cnt): Remove. 2005-04-08 20:31:43 +00:00
cygwin * child_info.h (child_info::cygheap_h): Delete. 2005-06-01 03:46:56 +00:00
doc * how-using.texinfo : Update the mkdir -p section 2005-05-28 20:35:58 +00:00
mingw * crt1.c (_gnu_exception_handler): Handle illegal instruction 2005-05-19 22:44:13 +00:00
subauth
testsuite 2005-05-17 Brian Dessent <brian@dessent.net> 2005-05-18 01:10:06 +00:00
utils * cygcheck.cc (dump_sysinfo): Recognize XP Media Center and Tablet PC 2005-05-30 15:49:31 +00:00
w32api Add missing ChangeLog entry. 2005-05-13 21:01:32 +00:00
CYGWIN_LICENSE Change location. 2003-01-13 21:11:19 +00:00
ChangeLog * Makefile.common: Add -dD to options when creating preprocess files. 2005-03-23 03:22:27 +00:00
Makefile.common * Makefile.common: Add -dD to options when creating preprocess files. 2005-03-23 03:22:27 +00:00
Makefile.in * Makefile.in: Make cygserver depending on cygwin. 2003-11-23 09:02:26 +00:00
configure * configure.in: Make --use-server the default. 2003-11-20 19:31:52 +00:00
configure.in * configure.in: Make --use-server the default. 2003-11-20 19:31:52 +00:00