]> sourceware.org Git - newlib-cygwin.git/commit
* mmap.cc: Convert usage of dynamically growing cmalloced arrays to
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 27 Nov 2007 10:09:05 +0000 (10:09 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 27 Nov 2007 10:09:05 +0000 (10:09 +0000)
commit230a3c86d1f40fba642bd7a68ca88878163bcd5f
tree1722057ebf1b6a1bcdfee5c063d0a0de6132f9ab
parent4694cc18c2ad0e96f1d12dfc04a59cfd40a7b318
* mmap.cc: Convert usage of dynamically growing cmalloced arrays to
cmalloced linked lists throughout.
(class mmap_record): Add LIST_ENTRY element.
(mmap_record::match): New method, taking over match algorithm from
list::search_record.
(class mmap_list): Rename from class list.  Add LIST_ENTRY.  Convert
recs to a LIST_HEAD.  Drop nrecs and maxrecs members.
(mmap_list::get_record): Drop entirely.
(mmap_list::free_recs): Drop entirely.
(mmap_list::del_record): Take mmap_record to delete as parameter.
(mmap_list::search_record): Convert to mmap_record::match.
(class mmap_areas): Rename from class map.  Convert lists to LIST_HEAD.
(mmap_areas::get_list): Drop entirely.
(mmap_areas::del_list): Take mmap_list to delete as parameter.
(mprotect): Fix indentation.
winsup/cygwin/ChangeLog
winsup/cygwin/mmap.cc
This page took 0.074566 seconds and 5 git commands to generate.