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
1ece841d
Commit
1ece841d
authored
Mar 20, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Use page size from sysinfo.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7544b9f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
elf_module.c
dlls/dbghelp/elf_module.c
+1
-1
macho_module.c
dlls/dbghelp/macho_module.c
+1
-1
No files found.
dlls/dbghelp/elf_module.c
View file @
1ece841d
...
...
@@ -403,7 +403,7 @@ static BOOL elf_map_file(struct elf_map_file_data* emfd, struct image_file_map*
{
static
const
BYTE
elf_signature
[
4
]
=
{
ELFMAG0
,
ELFMAG1
,
ELFMAG2
,
ELFMAG3
};
unsigned
int
i
;
size_t
tmp
,
page_mask
=
sys
conf
(
_SC_PAGESIZE
)
-
1
;
size_t
tmp
,
page_mask
=
sys
info
.
dwPageSize
-
1
;
WCHAR
*
dos_path
;
unsigned
char
e_ident
[
EI_NIDENT
];
...
...
dlls/dbghelp/macho_module.c
View file @
1ece841d
...
...
@@ -569,7 +569,7 @@ static int macho_load_section_info(struct image_file_map* ifm, const struct load
struct
section_info
*
info
=
user
;
BOOL
ignore
;
int
i
;
unsigned
long
tmp
,
page_mask
=
sys
conf
(
_SC_PAGESIZE
)
-
1
;
unsigned
long
tmp
,
page_mask
=
sys
info
.
dwPageSize
-
1
;
uint64_t
vmaddr
,
vmsize
;
char
segname
[
16
];
uint32_t
nsects
;
...
...
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