Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d40ec6f8
Commit
d40ec6f8
authored
Feb 10, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 10, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a couple of copy/paste errors.
parent
95b0fc6f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
virtual.c
dlls/kernel/tests/virtual.c
+2
-2
No files found.
dlls/kernel/tests/virtual.c
View file @
d40ec6f8
...
...
@@ -53,7 +53,7 @@ static void test_VirtualAlloc(void)
ok
(
info
.
Protect
==
0
/* NT */
||
info
.
Protect
==
PAGE_NOACCESS
,
/* Win9x */
"%lx != PAGE_NOACCESS
\n
"
,
info
.
Protect
);
ok
(
info
.
Type
==
MEM_PRIVATE
,
"%lx != MEM_
RESERV
E
\n
"
,
info
.
Type
);
ok
(
info
.
Type
==
MEM_PRIVATE
,
"%lx != MEM_
PRIVAT
E
\n
"
,
info
.
Type
);
SetLastError
(
0xdeadbeef
);
ok
(
!
VirtualProtect
(
addr1
,
0xFFFC
,
PAGE_READONLY
,
&
old_prot
),
...
...
@@ -75,7 +75,7 @@ static void test_VirtualAlloc(void)
ok
(
info
.
State
==
MEM_COMMIT
,
"%lx != MEM_COMMIT
\n
"
,
info
.
State
);
/* this time NT reports PAGE_NOACCESS as well */
ok
(
info
.
Protect
==
PAGE_NOACCESS
,
"%lx != PAGE_NOACCESS
\n
"
,
info
.
Protect
);
ok
(
info
.
Type
==
MEM_PRIVATE
,
"%lx != MEM_
RESERV
E
\n
"
,
info
.
Type
);
ok
(
info
.
Type
==
MEM_PRIVATE
,
"%lx != MEM_
PRIVAT
E
\n
"
,
info
.
Type
);
/* this should fail, since not the whole range is committed yet */
SetLastError
(
0xdeadbeef
);
...
...
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