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
adb87931
Commit
adb87931
authored
May 23, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
May 23, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not use pagesize aligned size_low to grow mapped file, but original
size_low. (fixes Heises Index Register)
parent
37b20062
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
mapping.c
server/mapping.c
+1
-2
No files found.
server/mapping.c
View file @
adb87931
...
...
@@ -98,7 +98,6 @@ static struct object *create_mapping( int size_high, int size_low, int protect,
if
(
protect
&
VPROT_READ
)
access
|=
GENERIC_READ
;
if
(
protect
&
VPROT_WRITE
)
access
|=
GENERIC_WRITE
;
size_low
=
ROUND_SIZE
(
0
,
size_low
);
if
(
handle
!=
-
1
)
{
if
(
!
(
mapping
->
file
=
get_file_obj
(
current
->
process
,
handle
,
access
)))
goto
error
;
...
...
@@ -124,7 +123,7 @@ static struct object *create_mapping( int size_high, int size_low, int protect,
if
(
!
grow_file
(
mapping
->
file
,
size_high
,
size_low
))
goto
error
;
}
mapping
->
size_high
=
size_high
;
mapping
->
size_low
=
size_low
;
mapping
->
size_low
=
ROUND_SIZE
(
0
,
size_low
)
;
mapping
->
protect
=
protect
;
return
&
mapping
->
obj
;
...
...
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