Updated Windows mmap() wrapper

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <Pine.GSO.4.44.0401182316010.29988-100000@scooby.simplesystems.org>
I have re-written the Windows mmap() wrapper function so that it
supports more features. 64-bit file offsets are now supported,
although GraphicsMagick doesn't make use of this yet.  One feature
that I have not tried yet is using it to allocate anonymous memory
from the system paging area (similar to malloc).  From the
description, it seems like this should work similar to Unix.  The
Windows documentation is very poor so it is not even clear if new
pages are zero-filled.

Let me know if you observe anything behaving oddly as a result of my
updates.

As of this evening, the MinGW build works properly again and the test
suite is passing under MinGW.

Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.