Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
07ace065
Commit
07ace065
authored
Oct 29, 2002
by
Sam Hocevar
Browse files
* ./src/misc/modules.c: plugin extension check is now case unsensitive.
parent
03019d58
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/modules.c
View file @
07ace065
...
...
@@ -2,7 +2,7 @@
* modules.c : Builtin and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules.c,v 1.9
8
2002/10/
14 16:46:56
sam Exp $
* $Id: modules.c,v 1.9
9
2002/10/
29 18:57:40
sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
...
...
@@ -423,6 +423,7 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability,
p_tmp
=
p_first
;
while
(
p_tmp
!=
NULL
)
{
msg_Dbg
(
p_this
,
"candidate: %s
\n
"
,
p_tmp
->
p_module
->
psz_object_name
);
vlc_object_yield
(
p_tmp
->
p_module
);
p_tmp
=
p_tmp
->
p_next
;
}
...
...
@@ -635,8 +636,8 @@ static void AllocatePluginDir( vlc_object_t *p_this, const char *psz_dir,
}
else
if
(
i_len
>
strlen
(
LIBEXT
)
/* We only load files ending with LIBEXT */
&&
!
strncmp
(
file
->
d_name
+
i_len
-
strlen
(
LIBEXT
),
LIBEXT
,
strlen
(
LIBEXT
)
)
)
&&
!
strnc
asec
mp
(
file
->
d_name
+
i_len
-
strlen
(
LIBEXT
),
LIBEXT
,
strlen
(
LIBEXT
)
)
)
{
AllocatePluginFile
(
p_this
,
psz_file
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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