Commit d044c1d8 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

Convert some stat to utf8_stat

parent 69956f28
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment