Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
7d1aef63
Commit
7d1aef63
authored
Jan 04, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32 compile fix
parent
f556b690
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/access/directory.c
modules/access/directory.c
+4
-3
No files found.
modules/access/directory.c
View file @
7d1aef63
...
...
@@ -364,6 +364,7 @@ static int ReadDir( playlist_t *p_playlist, const char *psz_name,
char
*
psz_ignore
;
struct
stat_list_t
stself
;
#ifndef WIN32
int
fd
=
dirfd
(
handle
);
if
((
fd
==
-
1
)
||
fstat
(
fd
,
&
stself
.
st
))
...
...
@@ -375,7 +376,6 @@ static int ReadDir( playlist_t *p_playlist, const char *psz_name,
for
(
stat_list_t
*
stats
=
stparent
;
stats
!=
NULL
;
stats
=
stats
->
parent
)
{
#ifndef WIN32
if
((
stself
.
st
.
st_ino
==
stats
->
st
.
st_ino
)
&&
(
stself
.
st
.
st_dev
==
stats
->
st
.
st_dev
))
{
...
...
@@ -384,11 +384,12 @@ static int ReadDir( playlist_t *p_playlist, const char *psz_name,
psz_name
);
return
VLC_SUCCESS
;
}
}
#else
/* Windows has st_dev (driver letter - 'A'), but it zeroes st_ino,
* so that the test above will always incorrectly succeed. */
* so that the test above will always incorrectly succeed.
* Besides, Windows does not have dirfd(). */
#endif
}
stself
.
parent
=
stparent
;
...
...
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