Boost logo

Boost :

Subject: Re: [boost] [filesystem] temp_dir_path()
From: Ulrich Eckhardt (doomster_at_[hidden])
Date: 2010-10-11 01:13:59


On Sunday 10 October 2010 14:50:42 Jeff Flinn wrote:
> Ulrich Eckhardt wrote:
> > On Saturday 09 October 2010 18:36:23 Jeff Flinn wrote:
[...]
> http://en.wikipedia.org/wiki/TMPDIR calls TMPDIR the "canonical Unix
> environment variable" and refers to the following for that justification:
>
> http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html#tag_
> 08_03
[...]
>>> - should both verify the path exists?
>>
>> Yes. Question remains what fallbacks should be tried, e.g. "/tmp" on
>> POSIX systems or environment variables on non-embedded win32.
>
> Is the above reference sufficient to only rely on TMPDIR?

Yes, and thank you for that reference!

Uli


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk