changeset 8285:0e0a43761b49

fixed WaitForMultipleObjects and FindFile
author alex
date Mon, 25 Nov 2002 18:51:25 +0000
parents f7d0ac887455
children 1a9ea966d840
files loader/win32.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Mon Nov 25 18:18:45 2002 +0000
+++ b/loader/win32.c	Mon Nov 25 18:51:25 2002 +0000
@@ -829,7 +829,7 @@
 	object = objects[i];
 	ret = expWaitForSingleObject(object, duration);
 	if (WaitAll)
-	    dprintf("suck...\n");
+	    dbgprintf("WaitAll flag not yet supported...\n");
 	else
 	    return ret;
     }
@@ -3397,8 +3397,12 @@
     if(strstr(cs1, "QuickTimeEssentials.qtx"))
     {
 	int result;
-	char* tmp="/root/.wine/fake_windows/Windows/System/QuickTime/QuickTimeEssentials.qtx";
+	char* tmp=(char*)malloc(strlen(def_path)+50);
+	strcpy(tmp, def_path);
+	strcat(tmp, "/");
+	strcat(tmp, "QuickTimeEssentials.qtx");
 	result=open(tmp, O_RDONLY);
+	free(tmp);
 	return result;
     }
 #endif