[Bug 43947] Disk size in Wine is not correct

WineHQ Bugzilla wine-bugs at winehq.org
Tue Oct 6 11:50:04 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=43947

--- Comment #14 from Alan A. <grsfdhj at tiscali.it> ---
Looked into it a bit more.
I think the culprit is the "ISF_MyComputer_fnGetDetailsOf" function, where
there's also a FIXME note above that says "FIXME: drive size >4GB is rolling
over".
I'm still not able to properly debug that code with gdb to better understand
what it does, but I guess that the "4GB capping" could be due to calling
"StrFormatByteSizeA" on "ulBytes.u.LowPart", which should be only a part of the
result from "GetDiskFreeSpaceExA".
This seems different to what the "dir" command does in wineconsole, as it just
calls "WCMD_filesize64 (freebytes.QuadPart)", considering all the bytes inside
the union instead of only a part of them.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list