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
5f48ff3c
Commit
5f48ff3c
authored
Dec 05, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Dec 05, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed dlerror() check to use strstr().
parent
f5a8ecc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
builtin32.c
relay32/builtin32.c
+2
-4
No files found.
relay32/builtin32.c
View file @
5f48ff3c
...
...
@@ -46,11 +46,9 @@ void *BUILTIN32_dlopen( const char *name )
if
(
!
(
handle
=
wine_dll_load
(
name
)))
{
LPSTR
pErr
,
p
;
LPSTR
pErr
;
pErr
=
dlerror
();
p
=
strchr
(
pErr
,
':'
);
if
((
p
)
&&
(
!
strncmp
(
p
,
": undefined symbol"
,
18
)))
/* undef symbol -> ERR() */
if
(
strstr
(
pErr
,
"undefined symbol"
))
/* undef symbol -> ERR() */
ERR
(
"failed to load %s: %s
\n
"
,
name
,
pErr
);
else
/* WARN() for libraries that are supposed to be native */
WARN
(
"failed to load %s: %s
\n
"
,
name
,
pErr
);
...
...
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