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
3f9d14bb
Commit
3f9d14bb
authored
Dec 13, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix directory.c on WinCE (which has neither DT_DIR nor S_ISDIR)
parent
7aca6e90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/access/directory.c
modules/access/directory.c
+3
-1
No files found.
modules/access/directory.c
View file @
3f9d14bb
...
@@ -465,11 +465,13 @@ static int ReadDir( playlist_t *p_playlist, const char *psz_name,
...
@@ -465,11 +465,13 @@ static int ReadDir( playlist_t *p_playlist, const char *psz_name,
&&
S_ISDIR
(
stat_data
.
st_mode
)
&&
i_mode
!=
MODE_COLLAPSE
)
&&
S_ISDIR
(
stat_data
.
st_mode
)
&&
i_mode
!=
MODE_COLLAPSE
)
#elif defined( DT_DIR )
#elif defined( DT_DIR )
if
(
(
p_dir_content
->
d_type
&
DT_DIR
)
&&
i_mode
!=
MODE_COLLAPSE
)
if
(
(
p_dir_content
->
d_type
&
DT_DIR
)
&&
i_mode
!=
MODE_COLLAPSE
)
#else
if
(
0
)
#endif
#endif
{
{
#if defined( S_ISLNK )
#if defined( S_ISLNK )
/*
/*
* FIXME: there is a ToCToU race condition here; but it is rather tricky
^W^W
* FIXME: there is a ToCToU race condition here; but it is rather tricky
* impossible to fix while keeping some kind of portable code, and maybe even
* impossible to fix while keeping some kind of portable code, and maybe even
* in a non-portable way.
* in a non-portable way.
*/
*/
...
...
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