msync patch

Chris January chris@atomice.net
Mon Mar 11 10:16:00 GMT 2002


This patch modifies msync in mmap.cc so that you can call msync with an
address which occurs in the middle of an mmap'ed region. It also fixes the
bug where the address in the relevant mmap_record would not match the one
passed to msync if the offset of the mmap'ed region within the file was not
on a dwAllocationGranularity boundary.

Regards
Chris

2002-03-11  Christopher January <chris@atomice.net>

 * mmap.cc (msync): Match addresses which are in the middle
 of an mmap'ed region.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmap.patch
Type: application/octet-stream
Size: 704 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020311/c2bf69cf/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog.mmap
Type: application/octet-stream
Size: 136 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020311/c2bf69cf/attachment-0001.obj>


More information about the Cygwin-patches mailing list