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
51e30469
Commit
51e30469
authored
Oct 25, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 25, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete the filename for the mapping instantly.
parent
d0a130a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
virtual.c
memory/virtual.c
+3
-5
No files found.
memory/virtual.c
View file @
51e30469
...
...
@@ -1145,14 +1145,12 @@ HANDLE32 WINAPI CreateFileMapping32A(
CHAR
buf
[
260
];
GetTempPath32A
(
260
,
buf
);
GetTempFileName32A
(
buf
,
"wine"
,
26
0
,
buf
);
GetTempFileName32A
(
buf
,
"wine"
,
0
,
buf
);
hFile
=
CreateFile32A
(
buf
,
GENERIC_READ
|
GENERIC_WRITE
,
0
,
NULL
,
OPEN_ALWAYS
,
0
,
0
);
/* FIXME: bad hack to avoid lots of leftover tempfiles */
DeleteFile32A
(
buf
);
if
(
hFile
==
INVALID_HANDLE_VALUE32
)
FIXME
(
virtual
,
"could not create temp. file for anon shared mapping: reason was 0x%08lx
\n
"
,
GetLastError
());
else
{
SetFilePointer
(
hFile
,
size_low
,
&
size_high
,
FILE_BEGIN
);
SetEndOfFile
(
hFile
);
}
}
}
if
(
hFile
!=
INVALID_HANDLE_VALUE32
)
/* We have a file */
...
...
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