Commit 0ea70bbf authored by Laurent Aimar's avatar Laurent Aimar

Use utf8_mkstemp in timeshift.

It should fix win32 build.
parent c7a41e0c
......@@ -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 )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment