Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fc8b376a
Commit
fc8b376a
authored
Feb 24, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return right away from import_dll when a dll is not found to avoid
displaying many useless function errors.
parent
b3b12cff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
loader.c
dlls/ntdll/loader.c
+4
-7
No files found.
dlls/ntdll/loader.c
View file @
fc8b376a
...
...
@@ -363,19 +363,16 @@ static WINE_MODREF *import_dll( HMODULE module, IMAGE_IMPORT_DESCRIPTOR *descr,
if
(
status
)
{
if
(
status
==
STATUS_DLL_NOT_FOUND
)
ERR
(
"
Module (file)
%s (which is needed by %s) not found
\n
"
,
ERR
(
"
Library
%s (which is needed by %s) not found
\n
"
,
name
,
debugstr_w
(
current_modref
->
ldr
.
FullDllName
.
Buffer
));
else
ERR
(
"Loading
module (file)
%s (which is needed by %s) failed (error %lx).
\n
"
,
ERR
(
"Loading
library
%s (which is needed by %s) failed (error %lx).
\n
"
,
name
,
debugstr_w
(
current_modref
->
ldr
.
FullDllName
.
Buffer
),
status
);
imp_mod
=
NULL
;
exports
=
NULL
;
return
NULL
;
}
else
{
imp_mod
=
wmImp
->
ldr
.
BaseAddress
;
exports
=
RtlImageDirectoryEntryToData
(
imp_mod
,
TRUE
,
IMAGE_DIRECTORY_ENTRY_EXPORT
,
&
exp_size
);
}
if
(
!
exports
)
{
...
...
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