Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
b25337f6
Commit
b25337f6
authored
Dec 12, 2007
by
Rémi Denis-Courmont
Browse files
Use DIR_SEP
parent
c6b6537f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/modules.c
View file @
b25337f6
...
...
@@ -1020,11 +1020,7 @@ static void AllocatePluginDir( vlc_object_t *p_this, const char *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
sprintf
(
psz_file
,
"%s"
DIR_SEP
"%s"
,
psz_dir
,
file
->
d_name
);
i_stat
=
stat
(
psz_file
,
&
statbuf
);
if
(
!
i_stat
&&
statbuf
.
st_mode
&
S_IFDIR
)
...
...
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