Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d044c1d8
Commit
d044c1d8
authored
Oct 02, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert some stat to utf8_stat
parent
69956f28
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
modules/access/dvdnav.c
modules/access/dvdnav.c
+1
-1
modules/access/vcd/cdrom.c
modules/access/vcd/cdrom.c
+1
-1
modules/control/http/util.c
modules/control/http/util.c
+1
-1
No files found.
modules/access/dvdnav.c
View file @
d044c1d8
...
...
@@ -1434,7 +1434,7 @@ static int ProbeDVD( demux_t *p_demux, char *psz_name )
return
VLC_SUCCESS
;
}
if
(
stat
(
psz_name
,
&
stat_info
)
||
!
S_ISREG
(
stat_info
.
st_mode
)
)
if
(
utf8_
stat
(
psz_name
,
&
stat_info
)
||
!
S_ISREG
(
stat_info
.
st_mode
)
)
{
/* Let dvdnav_open() do the probing */
return
VLC_SUCCESS
;
...
...
modules/access/vcd/cdrom.c
View file @
d044c1d8
...
...
@@ -111,7 +111,7 @@ vcddev_t *ioctl_Open( vlc_object_t *p_this, const char *psz_dev )
}
#else
if
(
stat
(
psz_dev
,
&
fileinfo
)
<
0
)
if
(
utf8_
stat
(
psz_dev
,
&
fileinfo
)
<
0
)
{
free
(
p_vcddev
);
return
NULL
;
...
...
modules/control/http/util.c
View file @
d044c1d8
...
...
@@ -186,7 +186,7 @@ int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
ACL_Destroy
(
p_acl
);
struct
stat
st
;
if
(
stat
(
dir
,
&
st
)
==
0
)
if
(
utf8_
stat
(
dir
,
&
st
)
==
0
)
{
closedir
(
p_dir
);
return
VLC_EGENERIC
;
...
...
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