Fix mismatch functionally for temporary file name
This commit is contained in:
@@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user