Commit 6b8a408f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

utf8_lstat -> vlc_lstat for consistency

parent a1b58a77
...@@ -50,7 +50,7 @@ int vlc_rename( const char *, const char * ); ...@@ -50,7 +50,7 @@ int vlc_rename( const char *, const char * );
#endif #endif
VLC_EXPORT( int, vlc_stat, ( const char *filename, struct stat *buf ) ); VLC_EXPORT( int, vlc_stat, ( const char *filename, struct stat *buf ) );
VLC_EXPORT( int, utf8_lstat, ( const char *filename, struct stat *buf ) ); VLC_EXPORT( int, vlc_lstat, ( const char *filename, struct stat *buf ) );
VLC_EXPORT( int, vlc_mkstemp, ( char * ) ); VLC_EXPORT( int, vlc_mkstemp, ( char * ) );
......
...@@ -548,7 +548,7 @@ gnutls_Addx509Directory( vlc_object_t *p_this, ...@@ -548,7 +548,7 @@ gnutls_Addx509Directory( vlc_object_t *p_this,
* that the inode is still the same, to avoid TOCTOU race condition. * that the inode is still the same, to avoid TOCTOU race condition.
*/ */
if( ( fd == -1) if( ( fd == -1)
|| fstat( fd, &st1 ) || utf8_lstat( psz_dirname, &st2 ) || fstat( fd, &st1 ) || vlc_lstat( psz_dirname, &st2 )
|| S_ISLNK( st2.st_mode ) || ( st1.st_ino != st2.st_ino ) ) || S_ISLNK( st2.st_mode ) || ( st1.st_ino != st2.st_ino ) )
{ {
closedir( dir ); closedir( dir );
......
...@@ -431,7 +431,7 @@ us_strtof ...@@ -431,7 +431,7 @@ us_strtof
vlc_fopen vlc_fopen
utf8_fprintf utf8_fprintf
vlc_loaddir vlc_loaddir
utf8_lstat vlc_lstat
vlc_mkdir vlc_mkdir
vlc_mkstemp vlc_mkstemp
vlc_open vlc_open
......
...@@ -464,7 +464,7 @@ int vlc_stat( const char *filename, struct stat *buf) ...@@ -464,7 +464,7 @@ int vlc_stat( const char *filename, struct stat *buf)
* *
* @param filename UTF-8 file path * @param filename UTF-8 file path
*/ */
int utf8_lstat( const char *filename, struct stat *buf) int vlc_lstat( const char *filename, struct stat *buf)
{ {
return vlc_statEx( filename, buf, false ); return vlc_statEx( filename, buf, false );
} }
......
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