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
58296b6d
Commit
58296b6d
authored
Mar 28, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
module: Use PATH_SEP instead of ':'.
parent
286e950b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
include/vlc_common.h
include/vlc_common.h
+4
-0
src/libvlc-module.c
src/libvlc-module.c
+1
-1
src/modules/modules.c
src/modules/modules.c
+3
-3
No files found.
include/vlc_common.h
View file @
58296b6d
...
...
@@ -1074,7 +1074,11 @@ extern vlc_threadvar_t msg_context_global_key;
#if defined( WIN32 ) || defined( UNDER_CE )
# define DIR_SEP_CHAR '\\'
# define DIR_SEP "\\"
# define PATH_SEP_CHAR ';'
# define PATH_SEP ";"
#else
# define DIR_SEP_CHAR '/'
# define DIR_SEP "/"
# define PATH_SEP_CHAR ':'
# define PATH_SEP ":"
#endif
src/libvlc-module.c
View file @
58296b6d
...
...
@@ -986,7 +986,7 @@ static const char *ppsz_clock_descriptions[] =
#define PLUGIN_PATH_TEXT N_("Modules search path")
#define PLUGIN_PATH_LONGTEXT N_( \
"Additional path for VLC to look for its modules. You can add " \
"several paths by concatenating them using
':'
as separator")
"several paths by concatenating them using
" PATH_SEP "
as separator")
#define VLM_CONF_TEXT N_("VLM configuration file")
#define VLM_CONF_LONGTEXT N_( \
...
...
src/modules/modules.c
View file @
58296b6d
...
...
@@ -938,8 +938,8 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
{
char
*
psz_fullpath
;
/* Look for
a ':'
*/
for
(
psz_iter
=
ppsz_path
;
*
psz_iter
&&
*
psz_iter
!=
':'
;
psz_iter
++
);
/* Look for
PATH_SEP_CHAR (a ':' or a ';')
*/
for
(
psz_iter
=
ppsz_path
;
*
psz_iter
&&
*
psz_iter
!=
PATH_SEP_CHAR
;
psz_iter
++
);
if
(
!*
psz_iter
)
end
=
true
;
else
*
psz_iter
=
0
;
...
...
@@ -947,7 +947,7 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
/* Handle relative as well as absolute paths */
#ifdef WIN32
if
(
ppsz_path
[
0
]
!=
'\\'
&&
ppsz_path
[
0
]
!=
'/'
)
if
(
ppsz_path
[
0
]
!=
'\\'
&&
ppsz_path
[
0
]
!=
'/'
&&
ppsz_path
[
0
]
!=
':'
)
#else
if
(
ppsz_path
[
0
]
!=
'/'
)
#endif
...
...
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