mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 12:29:08 +02:00
* Also check TMPDIR, a UNIX standard used by a.o. iOS (mantis #20248)
git-svn-id: trunk@19175 -
This commit is contained in:
parent
e46bc70389
commit
1579470a68
@ -1344,6 +1344,8 @@ begin
|
||||
Result:=GetEnvironmentVariable('TEMP');
|
||||
If (Result='') Then
|
||||
Result:=GetEnvironmentVariable('TMP');
|
||||
If (Result='') Then
|
||||
Result:=GetEnvironmentVariable('TMPDIR');
|
||||
if (Result='') then
|
||||
Result:='/tmp/' // fallback.
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user