kernel32: Handle bogus DOS paths in GetVolumePathName.
commit5a84969f39693ffce1f83a78ae153a1f83e20d60
authorErich E. Hoover <erich.e.hoover@wine-staging.com>
Tue, 16 Jun 2015 04:20:03 +0000 (15 22:20 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 23 Jun 2015 11:46:07 +0000 (23 20:46 +0900)
tree4681f6330fbdf2de9fd3ba9bb83115a92790ed27
parente8e13308eae427a88394abaab28dfb5ab7f149b6
kernel32: Handle bogus DOS paths in GetVolumePathName.

Paths that are not NT and not even close to DOS don't actually fail
catastrophically.  Even though MSDN suggests that it returns the boot
drive in this case, tests indicate that it returns the drive of the
current working directory.
dlls/kernel32/tests/volume.c
dlls/kernel32/volume.c