Boost logo

Boost :

Subject: Re: [boost] [filesystem] temp_dir_path()
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2010-10-17 10:21:06


Beman Dawes wrote:
> On Sat, Oct 16, 2010 at 6:42 PM, Beman Dawes <bdawes_at_[hidden]> wrote:
>
>> Ubuntu and OpenSolaris set no environmental variables naming the
>> temporary directory. They do seem to come with a /tmp directory
>> however.
>>
>> So maybe for POSIX-like systems, we will have to look first for the
>> environmental variables, and then if not found look for specific
>> directories.
>
> I've now done that, changed the tests accordingly, and verified they
> are passing on Ubuntu Linux.
>
> If anyone is aware of any POSIX-like operating systems that don't set
> TMPDIR, TMP, TEMP, or TEMPDIR environmental variables naming the
> temporary directory or don't supply a temporary directory named
> "/tmp", please let us know the name of the temporary directory.
>
> Other than that, I guess we just wait for tests to cycle.

Awesome, thanks for getting this in Beman!

As I previously mentioned to you, I have initial implementations for a
home_directory_path and application_path/current_process_path. I'll
start a new thread on those topics, and provide patches based on the
latest trunk.

Jeff


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