Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
b8b1c8a5
Commit
b8b1c8a5
authored
Mar 19, 2004
by
hartman
Browse files
* fix d_namlen bug
parent
a09823ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/directory.c
View file @
b8b1c8a5
...
...
@@ -240,7 +240,7 @@ int ReadDir( playlist_t *p_playlist, char *psz_name , int i_mode, int *pi_positi
while
(
p_dir_content
!=
NULL
)
{
int
i_size_entry
=
strlen
(
psz_name
)
+
p_dir_content
->
d_nam
len
+
2
;
strlen
(
p_dir_content
->
d_nam
e
)
+
2
;
char
*
psz_uri
=
(
char
*
)
malloc
(
sizeof
(
char
)
*
i_size_entry
);
sprintf
(
psz_uri
,
"%s/%s"
,
psz_name
,
p_dir_content
->
d_name
);
...
...
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