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
9fd5ceb9
Commit
9fd5ceb9
authored
Oct 31, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 31, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the FIXME() and moved SetLastError(0) to the end (so that
GetTempFileName et.al. can't overwrite it).
parent
8143acce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
virtual.c
memory/virtual.c
+1
-2
No files found.
memory/virtual.c
View file @
9fd5ceb9
...
...
@@ -1094,7 +1094,6 @@ HANDLE32 WINAPI CreateFileMapping32A(
K32OBJ
*
obj
=
K32OBJ_FindName
(
name
);
SetLastError
(
0
);
/* Win95 does that for some functions, like CFM */
if
(
obj
)
{
if
(
obj
->
type
==
K32OBJ_MEM_MAPPED_FILE
)
...
...
@@ -1133,7 +1132,6 @@ HANDLE32 WINAPI CreateFileMapping32A(
if
(
hFile
==
INVALID_HANDLE_VALUE32
)
{
FIXME
(
virtual
,
"shared anon mapping (%s, size %d) not correctly supported!
\n
"
,
debugstr_a
(
name
),
size_low
);
if
(
!
size_high
&&
!
size_low
)
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
...
...
@@ -1206,6 +1204,7 @@ HANDLE32 WINAPI CreateFileMapping32A(
else
handle
=
HANDLE_Alloc
(
PROCESS_Current
(),
&
mapping
->
header
,
FILE_MAP_ALL_ACCESS
/*FIXME*/
,
inherit
,
-
1
);
K32OBJ_DecCount
(
&
mapping
->
header
);
SetLastError
(
0
);
/* Last error value is relevant. (see the start of fun) */
return
handle
;
error:
...
...
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