Fix handling of mappings over file size.
authorVlad Brezae <brezaevlad@gmail.com>
Thu, 15 Jan 2015 21:59:45 +0000 (13:59 -0800)
committerVlad Brezae <brezaevlad@gmail.com>
Mon, 26 Jan 2015 23:08:14 +0000 (15:08 -0800)
commit495cd1500b18ca24d36da30e6779a04273f36422
tree04e1a0ba63ca442652c0da20b086c518e1c971bc
parent3f81926327189e6d9f99a0338798f93016abc282
Fix handling of mappings over file size.

Add tests.
mcs/class/System.Core/Test/System.IO.MemoryMappedFiles/MemoryMappedFileTest.cs
mono/metadata/file-mmap-posix.c