wine/dlls/kernel process.c

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 28 04:58:47 CST 2005


ChangeSet ID:	21440
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/11/28 04:58:47

Modified files:
	dlls/kernel    : process.c 

Log message:
	Alex Villacís Lasso <a_villacis at palosanto.com>
	Initialize file_exists to 0 at exe load test, prevents mistaking of
	UTF-8 encoded exenames as builtins.

Patch: http://cvs.winehq.org/patch.py?id=21440

Old revision  New revision  Changes     Path
 1.109         1.110         +1 -0       wine/dlls/kernel/process.c

Index: wine/dlls/kernel/process.c
diff -u -p wine/dlls/kernel/process.c:1.109 wine/dlls/kernel/process.c:1.110
--- wine/dlls/kernel/process.c:1.109	28 Nov 2005 10:58:47 -0000
+++ wine/dlls/kernel/process.c	28 Nov 2005 10:58:47 -0000
@@ -161,6 +161,7 @@ static void *open_builtin_exe_file( cons
     WCHAR *p;
     UINT i, len;
 
+    *file_exists = 0;
     if ((p = strrchrW( name, '/' ))) name = p + 1;
     if ((p = strrchrW( name, '\\' ))) name = p + 1;
 



More information about the wine-cvs mailing list