winsup/cygwin ChangeLog cygheap.h c ...
Tue Oct 8 21:08:00 GMT 2002

CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	2002-10-08 21:08:05

Modified files:
	cygwin         : ChangeLog cygheap.h 

Log message:
	* (dup_now): Make fatal error a little more informative.
	(cygheap_setup_for_child): Detect when default size of shared region is less
	than the current size and allocate that much.
	(_cbrk): Just return NULL on inability to allocate.
	(_cmalloc): Ditto.
	* cygheap.h (CYGHEAPSIZE): Change size to reflect newer, tinier fhandler sizes.
	* (av::error): New element, reflects potential errno from cmalloc.
	(av::~av): Don't free NULL pointers.
	(av::replace0_maybe): Detect out-of-memory conditions.
	(av::dup_maybe): Ditto.
	(av::dup_all): Ditto.
	(av::unshift): Ditto.
	(spawn_guts): Set errno and return if argv creation ran into problems.
	* fhandler.h (fhandler_union): Change member names to something safer.
	* (fhandler_console::get_tty_stuff): Always set
	fhandler_console::dev_state regardless of whether shared region is initialized.
	* (cygthread::runner): Use ExitThread rather than return
	(planning for future).


More information about the Cygwin-cvs mailing list