Module: wine Branch: refs/heads/master Commit: f1c3191b2c6643feceb494f2fa744d21eee5037f URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f1c3191b2c6643feceb494f2...
Author: Saulius Krasuckas saulius.krasuckas@ieee.org Date: Wed Jun 21 01:05:15 2006 +0300
kernel: Check for an exe which is always present in a system dir.
---
dlls/kernel/tests/file.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel/tests/file.c b/dlls/kernel/tests/file.c index 81528d3..ccf9a75 100644 --- a/dlls/kernel/tests/file.c +++ b/dlls/kernel/tests/file.c @@ -1448,7 +1448,7 @@ static void test_OpenFile_exists(void) HFILE hFile; OFSTRUCT ofs;
- static const char *file = "\winver.exe"; + static const char *file = "\regsvr32.exe"; char buff[MAX_PATH]; UINT length;
@@ -1456,7 +1456,7 @@ static void test_OpenFile_exists(void)
if ((length + lstrlen(file) < MAX_PATH)) { - lstrcat(buff, file); + lstrcatA(buff, file);
hFile = OpenFile(buff, &ofs, OF_EXIST); ok( hFile == TRUE, "%s not found : %ld\n", buff, GetLastError());