Use utf8_mkstemp in timeshift.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 17 Nov 2008 23:07:14 +0000 (00:07 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 17 Nov 2008 23:07:14 +0000 (00:07 +0100)
It should fix win32 build.

src/input/es_out_timeshift.c

index d26441a..e984810 100644 (file)
@@ -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 )