Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
1950e19e
Commit
1950e19e
authored
Feb 17, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./src/misc/modules.c: hmpf, Wine does not complain about "/"s in paths,
but Windoze will certainly do.
parent
2fe5a2c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/misc/modules.c
src/misc/modules.c
+10
-1
No files found.
src/misc/modules.c
View file @
1950e19e
...
...
@@ -2,7 +2,7 @@
* modules.c : Builtin and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules.c,v 1.11
2 2003/02/17 05:50:31
sam Exp $
* $Id: modules.c,v 1.11
3 2003/02/17 06:00:24
sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
...
...
@@ -589,8 +589,13 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
{
continue
;
}
#ifdef WIN32
sprintf
(
psz_fullpath
,
"%s
\\
%s"
,
p_this
->
p_libvlc
->
psz_vlcpath
,
*
ppsz_path
);
#else
sprintf
(
psz_fullpath
,
"%s/%s"
,
p_this
->
p_libvlc
->
psz_vlcpath
,
*
ppsz_path
);
#endif
}
else
#endif
...
...
@@ -705,7 +710,11 @@ static void AllocatePluginDir( vlc_object_t *p_this, const MYCHAR *psz_dir,
i_len
=
strlen
(
file
->
d_name
);
psz_file
=
malloc
(
i_dirlen
+
1
+
i_len
+
1
);
#ifdef WIN32
sprintf
(
psz_file
,
"%s
\\
%s"
,
psz_dir
,
file
->
d_name
);
#else
sprintf
(
psz_file
,
"%s/%s"
,
psz_dir
,
file
->
d_name
);
#endif
if
(
!
stat
(
psz_file
,
&
statbuf
)
&&
statbuf
.
st_mode
&
S_IFDIR
)
{
...
...
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