winsup/cygwin ChangeLog child_info.h cygheap.c ...
Wed Jun 1 03:46:00 GMT 2005

CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	2005-06-01 03:46:57

Modified files:
	cygwin         : ChangeLog child_info.h cygheap.h 

Log message:
	* child_info.h (child_info::cygheap_h): Delete.
	(child_info::dwProcessId): New field.
	* (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.
	* Modernize.  Remove unneeded sections.  Define cygheap here.
	* (do_exit): Reflect argument change to close_all_files.
	* (dtable::vfork_parent_restore): Ditto.
	* dtable.h: Ditto.
	* fhandler.h: Ditto.
	* (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.
	* (child_info::child_info): Put cygheap settings here.  Set parent
	(child_info::~child_info): Close parent handle if it exists.
	* (spawn_guts): Reorganize so that ciresrv is allocated at only the
	last minute so that cygheap changes are reflected.  Delete cygheap_setup*
	* (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.


More information about the Cygwin-cvs mailing list