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
8c91b080
Commit
8c91b080
authored
Dec 05, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Dec 05, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better error message for forwards.
parent
6f96a8b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
pe_image.c
loader/pe_image.c
+5
-5
No files found.
loader/pe_image.c
View file @
8c91b080
...
...
@@ -221,7 +221,7 @@ static FARPROC PE_FindExportedFunction(
}
else
/* forward entry point */
{
WINE_MODREF
*
wm
;
WINE_MODREF
*
wm
_fw
;
FARPROC
proc
;
char
*
forward
=
RVA
(
addr
);
char
module
[
256
];
...
...
@@ -231,13 +231,13 @@ static FARPROC PE_FindExportedFunction(
if
(
end
-
forward
>=
sizeof
(
module
))
return
NULL
;
memcpy
(
module
,
forward
,
end
-
forward
);
module
[
end
-
forward
]
=
0
;
if
(
!
(
wm
=
MODULE_FindModule
(
module
)))
if
(
!
(
wm
_fw
=
MODULE_FindModule
(
module
)))
{
ERR
(
"module not found for forward '%s'
\n
"
,
forward
);
ERR
(
"module not found for forward '%s'
used by '%s'
\n
"
,
forward
,
wm
->
modname
);
return
NULL
;
}
if
(
!
(
proc
=
MODULE_GetProcAddress
(
wm
->
module
,
end
+
1
,
snoop
)))
ERR
(
"function not found for forward '%s'
\n
"
,
forward
);
if
(
!
(
proc
=
MODULE_GetProcAddress
(
wm
_fw
->
module
,
end
+
1
,
snoop
)))
ERR
(
"function not found for forward '%s'
used by '%s'. If you are using builtin '%s', try using the native one instead.
\n
"
,
forward
,
wm
->
modname
,
wm
->
modname
);
return
proc
;
}
}
...
...
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