GetDiskFreeSpace fix.
Rein Klazes
wijn at wanadoo.nl
Thu Oct 20 00:31:31 CDT 2005
Hi,
Bug #2506: On win3.x thru winME GetDiskFreeSpace will not only cap the
total size to be less then 2 GB but also adjust the number of clusters
to be always less the 65535 by changing the sectors-per-cluster value. I
have verified this on Win95 and WinME.
Bug #751: this capping and adjusting just does not seem to happen on
WinNT4.0, Win2k or WinXP.
Changelog:
dlls/kernel : volume.c
dlls/kernel/tests : drive.c
In GetDiskFreeSpace:
- only cap the total size and available size to 2GB in Win3.x thru
WinME;
- in that case adjust number of clusters to be less then 65536 by
increasing the cluster size;
- add corresponding tests.
Rein.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getdiskfreespace.diff
Type: text/x-patch
Size: 3124 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051020/cad20cee/getdiskfreespace.diff
More information about the wine-patches
mailing list