Boost logo

Boost :

Subject: Re: [boost] [filesystem] temp_directory_path() behavior on Windows
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2015-02-04 19:57:32


On 4 Feb 2015 at 17:46, Beman Dawes wrote:

> >> That's a reasonable point. Apart from its hardcoded 260 char limit.
> >
> >
> > Windows in general does not react well to paths exceeding this limit
> > anywhere.
>
> The problem reported by the original ticket was that for GetTempPathW
> the limit is 130 characters, and that is way too small for some
> applications. And, yes, I did add test code that verified GetTempPathW
> fails at roughly 130 characters.

Wow, so that's a 260 *byte* limit then. That's dismal :(

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ 
http://ie.linkedin.com/in/nialldouglas/



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