[vlc-devel] commit: smb: use utf8_open (fix #2922) ( Rémi Duraffort )
git version control
git at videolan.org
Wed Jul 1 12:25:51 CEST 2009
vlc | branch: 1.0-bugfix | Rémi Duraffort <ivoire at videolan.org> | Wed Jul 1 10:48:52 2009 +0200| [5f8e55d0c2ff5c5af0a745a73ef899ba13a78866] | committer: Rémi Duraffort
smb: use utf8_open (fix #2922)
(cherry picked from commit 22507d7538a1f2181548299aca73b2967bda71cc and
e83b4259af0de8f8e910a319a394f8e24144de91)
Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f8e55d0c2ff5c5af0a745a73ef899ba13a78866
---
modules/access/smb.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/access/smb.c b/modules/access/smb.c
index c5eef5a..fcfa9fe 100644
--- a/modules/access/smb.c
+++ b/modules/access/smb.c
@@ -31,6 +31,7 @@
#endif
#include <vlc_common.h>
+#include <vlc_charset.h>
#include <vlc_plugin.h>
#include <vlc_access.h>
@@ -42,7 +43,7 @@
# include <sys/stat.h>
# endif
# include <io.h>
-# define smbc_open(a,b,c) open(a,b,c)
+# define smbc_open(a,b,c) utf8_open(a,b,c)
# define stat _stati64
# define smbc_fstat(a,b) _fstati64(a,b)
# define smbc_read read
More information about the vlc-devel
mailing list