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
3cb0bcff
Commit
3cb0bcff
authored
Jun 10, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Use Local instead of Global prefix to avoid permission issues.
parent
af785c4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
virtual.c
dlls/kernel32/tests/virtual.c
+3
-3
No files found.
dlls/kernel32/tests/virtual.c
View file @
3cb0bcff
...
...
@@ -450,11 +450,11 @@ static void test_MapViewOfFile(void)
DeleteFileA
(
testfile
);
SetLastError
(
0xdeadbeef
);
file
=
CreateFileMapping
(
INVALID_HANDLE_VALUE
,
NULL
,
PAGE_READWRITE
,
0
,
4096
,
"
Glob
al
\\
Foo"
);
file
=
CreateFileMapping
(
INVALID_HANDLE_VALUE
,
NULL
,
PAGE_READWRITE
,
0
,
4096
,
"
Loc
al
\\
Foo"
);
ok
(
file
!=
0
,
"CreateFileMapping PAGE_READWRITE error %u
\n
"
,
GetLastError
()
);
SetLastError
(
0xdeadbeef
);
mapping
=
OpenFileMapping
(
FILE_MAP_READ
,
FALSE
,
"
Glob
al
\\
Foo"
);
mapping
=
OpenFileMapping
(
FILE_MAP_READ
,
FALSE
,
"
Loc
al
\\
Foo"
);
ok
(
mapping
!=
0
,
"OpenFileMapping FILE_MAP_READ error %u
\n
"
,
GetLastError
()
);
SetLastError
(
0xdeadbeef
);
ptr
=
MapViewOfFile
(
mapping
,
FILE_MAP_WRITE
,
0
,
0
,
0
);
...
...
@@ -476,7 +476,7 @@ todo_wine ok( info.Protect == PAGE_READONLY, "%x != PAGE_READONLY\n", info.Prote
CloseHandle
(
mapping
);
SetLastError
(
0xdeadbeef
);
mapping
=
OpenFileMapping
(
FILE_MAP_WRITE
,
FALSE
,
"
Glob
al
\\
Foo"
);
mapping
=
OpenFileMapping
(
FILE_MAP_WRITE
,
FALSE
,
"
Loc
al
\\
Foo"
);
ok
(
mapping
!=
0
,
"OpenFileMapping FILE_MAP_WRITE error %u
\n
"
,
GetLastError
()
);
SetLastError
(
0xdeadbeef
);
ptr
=
MapViewOfFile
(
mapping
,
FILE_MAP_READ
,
0
,
0
,
0
);
...
...
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