http://bugs.winehq.org/show_bug.cgi?id=23355
--- Comment #8 from Jörg Höhle hoehle@users.sourceforge.net 2010-09-29 09:40:58 CDT ---
Windows documentation says the trailing backslash is required, but it only enforces that rule for fixed hard drives.
This is wrong. It depends on the drive's default directory. Tests are now in kernel32/volume.c and are known to pass from win95 to winXY to prove it (part of my comment #3 is obsolete: the tests are included since July this year). See http://www.winehq.org/pipermail/wine-devel/2010-July/thread.html as well as bug #20887, comment #15
Testapp to show what GetVolumeInformation
I don't know what it's doing, but you are welcome to extract kernel32_test.exe out of test.winehq's wintest.exe and start that from any directory other than your boot directory (C:).
cd X: kernel_test.exe volume
Please post results for network drives, floppies, SUBST (I tested CD-ROM, USB and Samba). Do you get different results than what I described?
I agree with you that the best thing to do IMHO is to revert that patch until somebody writes the correct code that looks up the drive's default directory when applicable. Fixing this bug would be especially welcome for Wine-1.2.1. I've listed in earlier comments half a dozen apps that fail to start because of this sole issue and merited platinum in the past.