Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
03272d2b
Commit
03272d2b
authored
Sep 28, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules.c: removes unneeded hack
parent
8cbf1354
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
src/modules/modules.c
src/modules/modules.c
+0
-17
No files found.
src/modules/modules.c
View file @
03272d2b
...
@@ -1461,23 +1461,6 @@ static int LoadModule( vlc_object_t *p_this, char *psz_file,
...
@@ -1461,23 +1461,6 @@ static int LoadModule( vlc_object_t *p_this, char *psz_file,
#elif defined(HAVE_DL_DLOPEN) && defined(RTLD_NOW)
#elif defined(HAVE_DL_DLOPEN) && defined(RTLD_NOW)
/* static is OK, we are called atomically */
/* static is OK, we are called atomically */
# if defined(SYS_LINUX)
/* XXX HACK #1 - we should NOT open modules with RTLD_GLOBAL, or we
* are going to get namespace collisions when two modules have common
* public symbols, but ALSA is being a pest here. */
if
(
strstr
(
psz_file
,
"alsa_plugin"
)
)
{
handle
=
dlopen
(
psz_file
,
RTLD_NOW
|
RTLD_GLOBAL
);
if
(
handle
==
NULL
)
{
msg_Warn
(
p_this
,
"cannot load module `%s' (%s)"
,
psz_file
,
dlerror
()
);
return
-
1
;
}
}
# endif
handle
=
dlopen
(
psz_file
,
RTLD_NOW
);
handle
=
dlopen
(
psz_file
,
RTLD_NOW
);
if
(
handle
==
NULL
)
if
(
handle
==
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