(filler): Ditto.
(gen_create_protect): Split off from gen_protect to use the file's
access mode to create mapping always with maximum allowed protections.
- (gen_protect): Accomodate pages attached beyond EOF. Use symbolic
+ (gen_protect): Accommodate pages attached beyond EOF. Use symbolic
values instead of numerics when possible. Drop create parameter.
(gen_access): Use file's access mode instead of protection.
(CreateMapping9x): Create named mapping names so that different
function.
(mmap_record::gen_protect): Drop create parameter.
(mmap_record::alloc_fh): Set fhandler's access flags.
- (list::search_record): Accomodate filler pages.
+ (list::search_record): Accommodate filler pages.
(list::set): Use inode number as hash value.
(map::get_list_by_fd): Check hash value against file's inode number.
(mmap_is_attached_page): New function to evaluate if a given address
Close new file handle if one has been created.
(munmap): Align len to pagesize.
(msync): Rework argument checks. Align len to pagesize.
- (mprotect): Ditto. Accomodate attached pages.
+ (mprotect): Ditto. Accommodate attached pages.
(mlock): Use roundup/rounddown macros instead of homemade expressions.
(munlock): Add page alignment as in mlock.
(fhandler_dev_zero::munmap): Fix unmapping of non-private mappings.
- (fhandler_dev_zero::fixup_mmap_after_fork): Accomodate filler pages.
+ (fhandler_dev_zero::fixup_mmap_after_fork): Accommodate filler pages.
(fixup_mmaps_after_fork): Don't fail if attached pages couldn't be
created in child. Avoid superfluous call to VirtualFree. Check for
original allocation protection to fix PAGE_WRITECOPY protection.
2005-12-04 Corinna Vinschen <corinna@vinschen.de>
* environ.cc (spenvs): Add "windir" as an "always export" variable
- to accomodate WinSock on Windows 95.
+ to accommodate WinSock on Windows 95.
2005-12-02 Christopher Faylor <cgf@timesys.com>