smb: use utf8_open (fix #2922)
authorRémi Duraffort <ivoire@videolan.org>
Wed, 1 Jul 2009 08:48:52 +0000 (10:48 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Wed, 1 Jul 2009 08:49:52 +0000 (10:49 +0200)
modules/access/smb.c

index 33d6d8a..fcca7cd 100644 (file)
@@ -42,7 +42,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