Re: [CMake] Finding the "Temp" directory code

2009-11-14 Thread Michael Wild
On 14. Nov, 2009, at 11:44 , Eric Noulard wrote: 2009/11/14 Michael Wild : Just using /tmp isn't such a good idea (because of predictability and symlink attacks). Which is why on APPLE TMPDIR looks like for, but this changes with each session. /var/folders/Z9/Z9lmRtS+E1CUYo8TIW8r8E+++TM/-

Re: [CMake] Finding the "Temp" directory code

2009-11-14 Thread Eric Noulard
2009/11/14 Michael Wild : > > Just using /tmp isn't such a good idea (because of predictability and > symlink attacks). Which is why on APPLE TMPDIR looks like for, but this > changes with each session. > > /var/folders/Z9/Z9lmRtS+E1CUYo8TIW8r8E+++TM/-Tmp- I didn't know that property of "session-u

Re: [CMake] Finding the "Temp" directory code

2009-11-13 Thread Michael Wild
On 14. Nov, 2009, at 24:55 , Michael Jackson wrote: Does anyone have any CMake code to find the designated temp folder location for each platform? Was thinking this might be in CMake somewhere but I did not seem to find anything. Thanks I think on WIN32 its TEMP and TMP and on all UNIX

[CMake] Finding the "Temp" directory code

2009-11-13 Thread Michael Jackson
Does anyone have any CMake code to find the designated temp folder location for each platform? Was thinking this might be in CMake somewhere but I did not seem to find anything. Thanks _ Mike Jackson mike.jack...@bluequa