]> sourceware.org Git - newlib-cygwin.git/commit
* mmap.cc (mmap_record::page_map): Define as variable array rather than
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 18 Mar 2011 13:38:34 +0000 (13:38 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 18 Mar 2011 13:38:34 +0000 (13:38 +0000)
commitac706ac1232169dc8bd9f1adfe3410e36df571bc
tree1e5bf5a3af69c2d833ff47755503fdf8dde75eb3
parentb532ee08bcf81757479e902f4b9f1944e7f13701
* mmap.cc (mmap_record::page_map): Define as variable array rather than
as pointer.
(mmap_record::alloc_page_map): Remove.
(mmap_record::free_page_map): Remove.
(mmap_record::init_page_map): New method.
(mmap_record::add_record): Take mmap_record parameter by reference
rather than by value.
(mmap_record::map_pages): Fix comment.
(mmap_list::add_record): Allocate space for mmap_record including the
page_map in a single ccalloc call.  Call init_page_map afterwards.
(mmap_list::del_record): Remove call to mmap_record::free_page_map.
winsup/cygwin/ChangeLog
winsup/cygwin/mmap.cc
This page took 0.030299 seconds and 5 git commands to generate.