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
c23bf433
Commit
c23bf433
authored
Sep 26, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Sep 26, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display an ERR() in case of undefined symbols.
parent
5644cdc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
builtin32.c
relay32/builtin32.c
+10
-1
No files found.
relay32/builtin32.c
View file @
c23bf433
...
...
@@ -63,7 +63,16 @@ void *BUILTIN32_dlopen( const char *name )
strcat
(
buffer
,
".so"
);
if
(
!
(
handle
=
ELFDLL_dlopen
(
buffer
,
RTLD_NOW
)))
WARN
(
"failed to load %s: %s
\n
"
,
buffer
,
dlerror
()
);
{
LPSTR
pErr
,
p
;
pErr
=
dlerror
();
p
=
strchr
(
pErr
,
':'
);
if
((
p
)
&&
(
!
strncmp
(
p
,
": undefined symbol"
,
18
)))
/* undef symbol -> ERR() */
ERR
(
"failed to load %s: %s
\n
"
,
buffer
,
pErr
);
else
/* WARN() for libraries that are supposed to be native */
WARN
(
"failed to load %s: %s
\n
"
,
buffer
,
pErr
);
}
return
handle
;
#else
return
NULL
;
...
...
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