virtual memory problems with Linux 2.4.5
Mike McCormack
mike_mccormack at start.com.au
Mon Jun 11 20:18:05 CDT 2001
Hi,
i have found a problem with Wine and the Linux 2.4.5 Kernel.
The Kernel no longer return EINVAL when offsets are not page
aligned... it simply does the mapping ignoring the lower bits of the
offset. This small patch fixes that problem.
Checked with the Acrobat Reader installer and Linux 2.4.5.
Mike
ChangeLog:
* memory/virtual.c:
don't try to mmap non-aligned pages.
Linux 2.4.x ignores the low bits of the offset.
------------------------------------------
mailto:Mike_McCormack at looksmart.com.au
ph +82 16 430 0425
__________________________________________________________________
Get your free Australian email account at http://www.Looksmart.com.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtual.patch
Type: application/octet-stream
Size: 754 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20010612/0e3dbfbc/virtual.obj
More information about the wine-patches
mailing list