winsup/cygwin ChangeLog child_info.h cygheap.c ...
Sat Jan 27 21:51:00 GMT 2001

CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	2001-01-27 21:51:15

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

Log message:
	Throughout, change 'cygwin_shared.mount' to 'mount_table'.
	* child_info.h (child_info): Move shared_h, console_h to cygheap.  Add mount_h.
	* cygheap.h (init_cygheap): Add shared_h, console_h.
	* (init_cheap): Initialize heap at a fixed location after the shared
	memory regions.  Initialize cygheap->user name here.
	* (dll_crt0_1): Call getpagesize () to initialize constants.  Remove
	cygheap_init since it is done in shared_init now.
	(_dll_crt0): Initialize mount_h, remove shared_h and console_h initialization.
	* (console_shared_h): Eliminate.
	(get_tty_stuff): Use cygheap->console_h rather than console_shared_h.
	* (heap_init): Use page size constant calculated earlier in
	* Eliminate cygwin_shared_h.  Add cygwin_mount_h.
	(mount_table_init): New function for initializing a user mount table.
	(open_shared_file_map): Use constant for shared memory region.  Initialize
	cygheap and mount table here.
	(open_shared): Improve debugging output.
	(shared_info::initialize): Eliminate call to mount.init.
	(shared_terminate): Use cygheap->shared_h.  Close cygwin_mount_h.
	(open_shared_file_map): Eliminate.
	* shared_info.h (mount_info): Add a version field.
	(shared_align_past): New macro for calculating location for shared memory
	* (init_child_info): Eliminate shared_h, console_h.
	* (spawn_guts): Pass on cygwin_mount_h iff not a different user.
	* (system_info): New global holding system memory defaults.
	(getpagesize): Use system_info.
	* (internal_getlogin): Only fill in user name if nonexistent.
	* winsup.h: Declare system_info.
	* (read_etc_passwd): Use cygheap-> () rather than retrieving
	the name again.


More information about the Cygwin-cvs mailing list