CVE-2012-3345
This commit is contained in:
parent
fb1f629bbc
commit
b5acc31a4d
5 changed files with 1 additions and 59 deletions
|
@ -78,23 +78,6 @@ char *Sys_DefaultHomePath(void)
|
|||
return homePath;
|
||||
}
|
||||
|
||||
#ifndef MACOS_X
|
||||
/*
|
||||
================
|
||||
Sys_TempPath
|
||||
================
|
||||
*/
|
||||
const char *Sys_TempPath( void )
|
||||
{
|
||||
const char *TMPDIR = getenv( "TMPDIR" );
|
||||
|
||||
if( TMPDIR == NULL || TMPDIR[ 0 ] == '\0' )
|
||||
return "/tmp";
|
||||
else
|
||||
return TMPDIR;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
================
|
||||
Sys_Milliseconds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue