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
31bf9857
Commit
31bf9857
authored
May 20, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't test if a directory exists twice in a row
Better yet try to parse it directly...
parent
04aae4db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
modules/control/http/http.c
modules/control/http/http.c
+0
-11
No files found.
modules/control/http/http.c
View file @
31bf9857
...
@@ -100,9 +100,6 @@ int ArtCallback( httpd_handler_sys_t *p_args,
...
@@ -100,9 +100,6 @@ int ArtCallback( httpd_handler_sys_t *p_args,
#if !defined(__APPLE__) && !defined(SYS_BEOS) && !defined(WIN32)
#if !defined(__APPLE__) && !defined(SYS_BEOS) && !defined(WIN32)
static
int
DirectoryCheck
(
const
char
*
psz_dir
)
static
int
DirectoryCheck
(
const
char
*
psz_dir
)
{
{
DIR
*
p_dir
;
#ifdef HAVE_SYS_STAT_H
struct
stat
stat_info
;
struct
stat
stat_info
;
if
(
(
utf8_stat
(
psz_dir
,
&
stat_info
)
==
-
1
)
if
(
(
utf8_stat
(
psz_dir
,
&
stat_info
)
==
-
1
)
...
@@ -110,14 +107,6 @@ static int DirectoryCheck( const char *psz_dir )
...
@@ -110,14 +107,6 @@ static int DirectoryCheck( const char *psz_dir )
{
{
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
#endif
if
(
(
p_dir
=
utf8_opendir
(
psz_dir
)
)
==
NULL
)
{
return
VLC_EGENERIC
;
}
closedir
(
p_dir
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
#endif
#endif
...
...
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