|
Boost : |
Subject: Re: [boost] [filesystem] temp_directory_path() behavior on Windows
From: Beman Dawes (bdawes_at_[hidden])
Date: 2015-02-03 06:32:35
On Tue, Feb 3, 2015 at 3:51 AM, Domagoj Saric
<domagoj.saric_at_[hidden]> wrote:
>
> On 31.1.2015. 16:07, Beman Dawes wrote:
>>
>> 4. The Windows directory.
>>
>> (4) Makes me queasy.
>
>
> Given that there is a C:\Windows\Temp directory (and it gets recreated by
> Windows if you delete it even if you divert the system TEMP and TMP env.
> variables to a different directory) the documentation 'probably' meant "The
> Windows\Temp directory" not the Windows directory itself...
Interesting. Makes sense.
The Windows directory can be determined by GetSystemWindowsDirectoryW,
so that means no dependency at all on the state of environmental
variables.
Thanks,
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk