]> git.sesse.net Git - vlc/commitdiff
utf8_lstat -> vlc_lstat for consistency
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Mar 2010 21:32:21 +0000 (23:32 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Mar 2010 21:32:21 +0000 (23:32 +0200)
include/vlc_fs.h
modules/misc/gnutls.c
src/libvlccore.sym
src/text/filesystem.c

index 42d5b9b9c50a560cab87f175442b30ecc7b8ce33..aedd0ee7367676a8687722bb1f3a54874488d9aa 100644 (file)
@@ -50,7 +50,7 @@ int vlc_rename( const char *, const char * );
 #endif
 
 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 * ) );
 
index 50ae2d499725f98f5510211ffaa00a16f2dcf116..10671c340bb553db5cd3b252fa1b0c5e3aa80fd4 100644 (file)
@@ -548,7 +548,7 @@ gnutls_Addx509Directory( vlc_object_t *p_this,
          * that the inode is still the same, to avoid TOCTOU race condition.
          */
         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 ) )
         {
             closedir( dir );
index 85da6f3eb335309497a86cfd0cfb60deb6b9dc24..6ed173227e3e8100cb5003d10ce8619f2adc85b2 100644 (file)
@@ -431,7 +431,7 @@ us_strtof
 vlc_fopen
 utf8_fprintf
 vlc_loaddir
-utf8_lstat
+vlc_lstat
 vlc_mkdir
 vlc_mkstemp
 vlc_open
index b514da7a24dfcdee2ce2f4e6611b61a5c9af9aa6..b57a27d868abbfd4a5cd7d21b279e4d27231eea9 100644 (file)
@@ -464,7 +464,7 @@ int vlc_stat( const char *filename, struct stat *buf)
  *
  * @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 );
 }