Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d8bdb697
Commit
d8bdb697
authored
Jun 30, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove a very old hack that is no longer necessary
parent
3576d6b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
src/misc/modules.c
src/misc/modules.c
+0
-13
No files found.
src/misc/modules.c
View file @
d8bdb697
...
...
@@ -1376,7 +1376,6 @@ static int LoadModule( vlc_object_t *p_this, char *psz_file,
#elif defined(HAVE_DL_DLOPEN) && defined(RTLD_NOW)
/* static is OK, we are called atomically */
static
vlc_bool_t
b_kde
=
VLC_FALSE
;
# if defined(SYS_LINUX)
/* XXX HACK #1 - we should NOT open modules with RTLD_GLOBAL, or we
...
...
@@ -1393,18 +1392,6 @@ static int LoadModule( vlc_object_t *p_this, char *psz_file,
}
}
# endif
/* XXX HACK #2 - the ugly KDE workaround. It seems that libkdewhatever
* causes dlopen() to segfault if libstdc++ is not loaded in the caller,
* so we just load libstdc++. Bwahahaha! ph34r! -- Sam. */
/* Update: FYI, this is Debian bug #180505, and seems to be fixed. */
if
(
!
b_kde
&&
!
strstr
(
psz_file
,
"kde"
)
)
{
dlopen
(
"libstdc++.so.6"
,
RTLD_NOW
)
||
dlopen
(
"libstdc++.so.5"
,
RTLD_NOW
)
||
dlopen
(
"libstdc++.so.4"
,
RTLD_NOW
)
||
dlopen
(
"libstdc++.so.3"
,
RTLD_NOW
);
b_kde
=
VLC_TRUE
;
}
handle
=
dlopen
(
psz_file
,
RTLD_NOW
);
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