RFC: mmap override patch #2

2011-03-03 Thread Chris Robinson
An updated attempt at the mmap override patch that I previously sent. This version properly uses a signed type for the mmap wrapper (as off_t/off64_t are signed types), fixes a few things with the munmap wrapper relating to truncated and sliced file_views, and implements a mremap wrapper for Lin

[RFC] mmap override patch

2010-09-20 Thread Chris Robinson
This is a patch that attempts to override mmap, mmap64, and munmap so that host libs can used memory from the Wine heap instead of being restricted to the address space Wine leaves unreserved. It is based on Albert Lee's patch found here: http://bugs.winehq.org/show_bug.cgi?id=13335#c170 It ha