[PATCH 1/2] kernel: Check for an exe which is always present in a
system dir.
Saulius Krasuckas
saulius.krasuckas at ieee.org
Tue Jun 20 17:05:15 CDT 2006
---
dlls/kernel/tests/file.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
9785799a6da4750011baa89f4358cc69f14368ba
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());
--
1.3.3
More information about the wine-patches
mailing list