[vlc-devel] commit: Use utf8_mkstemp in timeshift. (Laurent Aimar )

git version control git at videolan.org
Tue Nov 18 00:10:37 CET 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Nov 18 00:07:14 2008 +0100| [0ea70bbfcfd472b1d65fcd3cf8674b8a84efae23] | committer: Laurent Aimar 

Use utf8_mkstemp in timeshift.

It should fix win32 build.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ea70bbfcfd472b1d65fcd3cf8674b8a84efae23
---

 src/input/es_out_timeshift.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/es_out_timeshift.c b/src/input/es_out_timeshift.c
index d26441a..e984810 100644
--- a/src/input/es_out_timeshift.c
+++ b/src/input/es_out_timeshift.c
@@ -1519,7 +1519,7 @@ static FILE *GetTmpFile( char **ppsz_file, const char *psz_path )
         return NULL;
 
     /* */
-    fd = mkstemp( psz_name );
+    fd = utf8_mkstemp( psz_name );
     *ppsz_file = psz_name;
 
     if( fd < 0 )




More information about the vlc-devel mailing list