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
3fe34fe3
Commit
3fe34fe3
authored
Dec 02, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Dec 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix some parameter names and types in the Mach-O support.
parent
f0c4354a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
macho_module.c
dlls/dbghelp/macho_module.c
+6
-6
No files found.
dlls/dbghelp/macho_module.c
View file @
3fe34fe3
...
@@ -1023,7 +1023,7 @@ leave:
...
@@ -1023,7 +1023,7 @@ leave:
* macho_load_file_from_path
* macho_load_file_from_path
* Tries to load a Mach-O file from a set of paths (separated by ':')
* Tries to load a Mach-O file from a set of paths (separated by ':')
*/
*/
static
BOOL
macho_load_file_from_path
(
HANDLE
hProces
s
,
static
BOOL
macho_load_file_from_path
(
struct
process
*
pc
s
,
const
WCHAR
*
filename
,
const
WCHAR
*
filename
,
unsigned
long
load_addr
,
unsigned
long
load_addr
,
const
char
*
path
,
const
char
*
path
,
...
@@ -1034,7 +1034,7 @@ static BOOL macho_load_file_from_path(HANDLE hProcess,
...
@@ -1034,7 +1034,7 @@ static BOOL macho_load_file_from_path(HANDLE hProcess,
WCHAR
*
pathW
=
NULL
;
WCHAR
*
pathW
=
NULL
;
unsigned
len
;
unsigned
len
;
TRACE
(
"(%p
, %s, 0x%08lx, %s, %p)
\n
"
,
hProcess
,
debugstr_w
(
filename
),
load_addr
,
TRACE
(
"(%p
/%p, %s, 0x%08lx, %s, %p)
\n
"
,
pcs
,
pcs
->
handle
,
debugstr_w
(
filename
),
load_addr
,
debugstr_a
(
path
),
macho_info
);
debugstr_a
(
path
),
macho_info
);
if
(
!
path
)
return
FALSE
;
if
(
!
path
)
return
FALSE
;
...
@@ -1053,7 +1053,7 @@ static BOOL macho_load_file_from_path(HANDLE hProcess,
...
@@ -1053,7 +1053,7 @@ static BOOL macho_load_file_from_path(HANDLE hProcess,
strcpyW
(
fn
,
s
);
strcpyW
(
fn
,
s
);
strcatW
(
fn
,
S_SlashW
);
strcatW
(
fn
,
S_SlashW
);
strcatW
(
fn
,
filename
);
strcatW
(
fn
,
filename
);
ret
=
macho_load_file
(
hProces
s
,
fn
,
load_addr
,
macho_info
);
ret
=
macho_load_file
(
pc
s
,
fn
,
load_addr
,
macho_info
);
HeapFree
(
GetProcessHeap
(),
0
,
fn
);
HeapFree
(
GetProcessHeap
(),
0
,
fn
);
if
(
ret
)
break
;
if
(
ret
)
break
;
s
=
(
t
)
?
(
t
+
1
)
:
NULL
;
s
=
(
t
)
?
(
t
+
1
)
:
NULL
;
...
@@ -1069,7 +1069,7 @@ static BOOL macho_load_file_from_path(HANDLE hProcess,
...
@@ -1069,7 +1069,7 @@ static BOOL macho_load_file_from_path(HANDLE hProcess,
*
*
* Tries to load a Mach-O file from the dll path
* Tries to load a Mach-O file from the dll path
*/
*/
static
BOOL
macho_load_file_from_dll_path
(
HANDLE
hProces
s
,
static
BOOL
macho_load_file_from_dll_path
(
struct
process
*
pc
s
,
const
WCHAR
*
filename
,
const
WCHAR
*
filename
,
unsigned
long
load_addr
,
unsigned
long
load_addr
,
struct
macho_info
*
macho_info
)
struct
macho_info
*
macho_info
)
...
@@ -1078,7 +1078,7 @@ static BOOL macho_load_file_from_dll_path(HANDLE hProcess,
...
@@ -1078,7 +1078,7 @@ static BOOL macho_load_file_from_dll_path(HANDLE hProcess,
unsigned
int
index
=
0
;
unsigned
int
index
=
0
;
const
char
*
path
;
const
char
*
path
;
TRACE
(
"(%p
, %s, 0x%08lx, %p)
\n
"
,
hProcess
,
debugstr_w
(
filename
),
load_addr
,
TRACE
(
"(%p
/%p, %s, 0x%08lx, %p)
\n
"
,
pcs
,
pcs
->
handle
,
debugstr_w
(
filename
),
load_addr
,
macho_info
);
macho_info
);
while
(
!
ret
&&
(
path
=
wine_dll_enum_load_path
(
index
++
)))
while
(
!
ret
&&
(
path
=
wine_dll_enum_load_path
(
index
++
)))
...
@@ -1095,7 +1095,7 @@ static BOOL macho_load_file_from_dll_path(HANDLE hProcess,
...
@@ -1095,7 +1095,7 @@ static BOOL macho_load_file_from_dll_path(HANDLE hProcess,
MultiByteToWideChar
(
CP_UNIXCP
,
0
,
path
,
-
1
,
name
,
len
);
MultiByteToWideChar
(
CP_UNIXCP
,
0
,
path
,
-
1
,
name
,
len
);
strcatW
(
name
,
S_SlashW
);
strcatW
(
name
,
S_SlashW
);
strcatW
(
name
,
filename
);
strcatW
(
name
,
filename
);
ret
=
macho_load_file
(
hProces
s
,
name
,
load_addr
,
macho_info
);
ret
=
macho_load_file
(
pc
s
,
name
,
load_addr
,
macho_info
);
HeapFree
(
GetProcessHeap
(),
0
,
name
);
HeapFree
(
GetProcessHeap
(),
0
,
name
);
}
}
TRACE
(
" => %d
\n
"
,
ret
);
TRACE
(
" => %d
\n
"
,
ret
);
...
...
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