]> git.sesse.net Git - vlc/commitdiff
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 d26441a67ce2f401bdcf120c30210835c1e9b711..e984810a408f3907c44164d5d91f0a23c7561a4c 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 )