Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f1c3191b
Commit
f1c3191b
authored
Jun 21, 2006
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Jun 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: Check for an exe which is always present in a system dir.
parent
0f6cb886
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
file.c
dlls/kernel/tests/file.c
+2
-2
No files found.
dlls/kernel/tests/file.c
View file @
f1c3191b
...
...
@@ -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
);
lstrcat
A
(
buff
,
file
);
hFile
=
OpenFile
(
buff
,
&
ofs
,
OF_EXIST
);
ok
(
hFile
==
TRUE
,
"%s not found : %ld
\n
"
,
buff
,
GetLastError
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment