[vlc-commits] commit: utf8_lstat -> vlc_lstat for consistency ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Mar 3 22:32:34 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar 3 23:32:21 2010 +0200| [6b8a408fdbde63a83751c304079c44f1dde650c2] | committer: Rémi Denis-Courmont
utf8_lstat -> vlc_lstat for consistency
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6b8a408fdbde63a83751c304079c44f1dde650c2
---
include/vlc_fs.h | 2 +-
modules/misc/gnutls.c | 2 +-
src/libvlccore.sym | 2 +-
src/text/filesystem.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/vlc_fs.h b/include/vlc_fs.h
index 42d5b9b..aedd0ee 100644
--- a/include/vlc_fs.h
+++ b/include/vlc_fs.h
@@ -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 * ) );
diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c
index 50ae2d4..10671c3 100644
--- a/modules/misc/gnutls.c
+++ b/modules/misc/gnutls.c
@@ -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 );
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 85da6f3..6ed1732 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -431,7 +431,7 @@ us_strtof
vlc_fopen
utf8_fprintf
vlc_loaddir
-utf8_lstat
+vlc_lstat
vlc_mkdir
vlc_mkstemp
vlc_open
diff --git a/src/text/filesystem.c b/src/text/filesystem.c
index b514da7..b57a27d 100644
--- a/src/text/filesystem.c
+++ b/src/text/filesystem.c
@@ -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 );
}
More information about the vlc-commits
mailing list