Report swap file total/free sizes to be the same as physical memory

Dmitry Timoshkov dmitry at baikal.ru
Tue Aug 16 09:49:34 CDT 2005


Hello,

Project2k refuses to start if it sees less than 1Mb of free swap file,
for instance on the systems with disabled swap file. Alexandre proposed
to report swap == ram in order to workaround it.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Report swap file total/free sizes to be the same as physical memory.
    Make sure that we cache all calculated values.

-- 
Dmitry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GlobalMemoryStatus2.diff
Type: text/x-diff
Size: 1874 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050816/5cb58e86/GlobalMemoryStatus2.bin


More information about the wine-patches mailing list