Patch to fix bug 17619 - GetDriveTypeW reporting C: as a network share if /home is an NFS share
Francois Gouget
fgouget at free.fr
Sat Mar 7 08:46:11 CST 2009
On Fri, 6 Mar 2009, Forest Hale wrote:
> Fixed GetDriveTypeW to always report C: as DRIVE_FIXED, preventing problems with the Steam installer if /home is a network share or other special mount.
>
> + if (root && (root[0] == 'C' || root[0] == 'c')) return DRIVE_FIXED;
I think you should not hardcode the c: drive here. Something based on
GetSystemDirectory(), GetWindowsDirectory() or one of their relatives
would be better (not sure exactly which should be used).
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
There are 10 types of people in the world...
those who understand binary and those who don't.
More information about the wine-devel
mailing list