James Hawkins : kernel32: Don't test for HARDDISK and RAMDISK on win9x.
Alexandre Julliard
julliard at winehq.org
Mon Jun 30 08:27:31 CDT 2008
Module: wine
Branch: master
Commit: 63ac79f4d594c392d27fb6688b35de43e9de5ba2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=63ac79f4d594c392d27fb6688b35de43e9de5ba2
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Sun Jun 29 18:15:21 2008 -0500
kernel32: Don't test for HARDDISK and RAMDISK on win9x.
---
dlls/kernel32/tests/volume.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/volume.c b/dlls/kernel32/tests/volume.c
index 9a21db1..727f326 100644
--- a/dlls/kernel32/tests/volume.c
+++ b/dlls/kernel32/tests/volume.c
@@ -37,6 +37,11 @@ static void test_query_dos_deviceA(void)
DWORD ret;
BOOL found = FALSE;
+ if (!pFindFirstVolumeA) {
+ skip("On win9x, HARDDISK and RAMDISK not present\n");
+ return;
+ }
+
for (;drivestr[0] <= 'z'; drivestr[0]++) {
ret = QueryDosDeviceA( drivestr, buffer, sizeof(buffer));
if(ret) {
More information about the wine-cvs
mailing list