newlib/winsup
Corinna Vinschen 4544f7f6a2 * mmap.cc: Restructure. Add, remove and rewrite comments throughout
for better readability.  Change function names for better
	understanding.
	(MAP_SET): Accomodate name change from map_map_ to page_map_.
	(MAP_CLR): Ditto.
	(MAP_ISSET): Ditto.
	(mmap_record::page_map_): Rename from page_map_.
	(mmap_record::get_map): Remove.
	(mmap_record::alloc_page_map): Rename from alloc_map. Return bool
	indicating success of cygheap memory allocation.
	(mmap_record::free_page_map): Rename from free_map.
	(mmap_record::fixup_page_map): Rename from fixup_map.
	(mmap_record::find_unused_pages): Rename from find_empty.
	(mmap_record::map_pages): Rename from map_map.
	(mmap_record::unmap_pages): Rename from unmap_map.
	(class list): Make all class members private.
	(list::list): Remove.
	(list::~list): Remove.
	(list::get_fd): New attribute reader.
	(list::get_hash): Ditto.
	(list::get_record): Ditto.
	(list::add_record): Manage all allocation for mmap_records.  Check
	for failed memory allocation and return NULL if so.
	(list::set): New function.
	(list::del_record): Rename from erase. Return true if last mmap_record
	has been deleted, false otherwise. Check for legal incoming index
	value.
	(list::erase): Remove erase/0.
	(list::search_record): Rename from match.
	(map::map): Remove.
	(map::~map): Remove.
	(map::add_list): Manage all allocation for lists.  Check for failed
	memory allocation and return NULL if so.
	(map::get_list): New method.
	(map::del_list): Rename from erase. Check for legal incoming index
	value.
	(mmap64): Check for failed mmap_record memory allocation.  Return
	with MAP_FAILED and errno set to ENOMEM if so.
	(munmap): Rearrange loop using new list and mmap_record accessor
	functions.  Rename loop index variables for better understanding.
	Check if list can be deleted after last mmap_record in it has been
	deleted.
	(msync): Rearrange loop using new list and mmap_record accessor
	functions.  Rename loop index variables for better understanding.
	(fixup_mmaps_after_fork): Ditto.
2003-09-04 10:27:51 +00:00
..
bz2lib
cygserver * msg.cc: New file. 2003-08-30 16:34:56 +00:00
cygwin * mmap.cc: Restructure. Add, remove and rewrite comments throughout 2003-09-04 10:27:51 +00:00
doc * pathnames.sgml: Remove description how to mount raw devices and 2003-09-01 12:56:01 +00:00
mingw * config.guess, config.sub: Update with versions from ftp.gnu.org. 2003-07-03 15:15:56 +00:00
subauth
testsuite update copyright 2003-07-06 21:45:21 +00:00
utils * mount.cc (mount_commands): Ensure user mode is actually user mode and not the 2003-09-04 01:04:57 +00:00
w32api 2003-09-02 Bart Oldeman <bartoldeman@users.sourceforge.net> 2003-09-03 00:59:02 +00:00
ChangeLog fix typo 2003-08-06 03:39:36 +00:00
configure * configure.in: Add --enable-server option. 2003-07-02 03:33:01 +00:00
configure.in * configure.in: Add --enable-server option. 2003-07-02 03:33:01 +00:00
CYGWIN_LICENSE
Makefile.common typo 2003-08-06 03:22:18 +00:00
Makefile.in preliminary checkin 2003-07-26 00:49:12 +00:00