[Bug 29706] GetDiskFreeSpaceEx() returns negative sizes for large drives

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 27 10:38:25 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=29706

--- Comment #7 from Myk Taylor <myk002 at yahoo.com> 2012-06-27 10:38:25 CDT ---
hrm, this may not be the problem.  wine's implementation of the dir command for
the cmd executable uses GetDiskFreeSpaceExW to get the disk free status line,
and that works just fine for my 4TB free.  Perhaps it is the DeusEx executable
itself that cannot handle the large value.

Update: hacking GetDiskFreeSpaceEx (and GetDiskFreeSpace) to limit the
magnitude of the values returned doesn't seem to help.  DeusEx must be using
some other mechanism to get the free disk space.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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