1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Fix mismatch functionally for temporary file name

This commit is contained in:
OBATA Akio 2021-10-08 17:30:48 +09:00
parent 2390217a75
commit bbf4d451d9

View file

@ -911,7 +911,7 @@ GetTmpPath( char *path )
if( *sp == '/' ) *sp-- = '\0' ; if( *sp == '/' ) *sp-- = '\0' ;
sprintf( sp+1, "/%s", TEMPFILEKEY ) ; sprintf( sp+1, "/%s", TEMPFILEKEY ) ;
/* Get temporary file name */ /* Get temporary file name */
return mkstemp( buf ); return mktemp( buf );
} }