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:
parent
2390217a75
commit
bbf4d451d9
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue