[Mplayer-cvslog] CVS: main/loader win32.c,1.66,1.67
Alex Beregszaszi
alex at mplayerhq.hu
Mon Nov 25 19:51:48 CET 2002
Update of /cvsroot/mplayer/main/loader
In directory mail:/var/tmp.root/cvs-serv2771
Modified Files:
win32.c
Log Message:
fixed WaitForMultipleObjects and FindFile
Index: win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- win32.c 25 Nov 2002 17:43:40 -0000 1.66
+++ win32.c 25 Nov 2002 18:51:25 -0000 1.67
@@ -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
More information about the MPlayer-cvslog
mailing list