Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
64b1b518
Commit
64b1b518
authored
Dec 09, 2007
by
Rémi Denis-Courmont
Browse files
Prevent gettext bug on glibc 2.5 too
parent
b47cf198
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vlc.c
View file @
64b1b518
...
...
@@ -67,10 +67,11 @@ int main( int i_argc, const char *ppsz_argv[] )
int
i_ret
;
# ifdef __GLIBC__
if
(
dlsym
(
RTLD_NEXT
,
"
sync_file_range
"
)
&&
!
dlsym
(
RTLD_NEXT
,
"qsort_r"
))
if
(
dlsym
(
RTLD_NEXT
,
"
inet6_rth_add
"
)
&&
!
dlsym
(
RTLD_NEXT
,
"qsort_r"
))
{
/* Way too many Linux users have glibc 2.
6
that keeps crashing
/* Way too many Linux users have glibc 2.
5-2.7
that keeps crashing
* inside its non-thread-safe dcgettext(). */
/* Hopefully glibc 2.8 will eventually work, not sure though */
fprintf
(
stderr
,
"***************************************************
\n
"
"*** glibc version with broken libintl detected. ***
\n
"
...
...
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