Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
779fd3dd
Commit
779fd3dd
authored
Jan 10, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix grammar / typo
parent
25c43a8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/posix/filesystem.c
src/posix/filesystem.c
+1
-1
No files found.
src/posix/filesystem.c
View file @
779fd3dd
...
...
@@ -157,7 +157,7 @@ char *vlc_readdir( DIR *dir )
char
*
path
=
NULL
;
long
len
=
fpathconf
(
dirfd
(
dir
),
_PC_NAME_MAX
);
/* POSIX says there shall
w
e room for NAME_MAX bytes at all times */
/* POSIX says there shall
b
e room for NAME_MAX bytes at all times */
if
(
len
==
-
1
||
len
<
NAME_MAX
)
len
=
NAME_MAX
;
len
+=
sizeof
(
*
ent
)
+
1
-
sizeof
(
ent
->
d_name
);
...
...
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