[Boost-bugs] [Boost C++ Libraries] #5300: temp_directory_path failure on Windows with path length > 130 char

Subject: [Boost-bugs] [Boost C++ Libraries] #5300: temp_directory_path failure on Windows with path length > 130 char
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-13 15:48:45


#5300: temp_directory_path failure on Windows with path length > 130 char
----------------------------------------------------------+-----------------
 Reporter: Joshua Boyce <raptorfactor@…> | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
----------------------------------------------------------+-----------------
 The GetTempPath API (which temp_directory_path uses internally) will not
 behave as expected if the path to the temp dir is longer than 130
 characters.

 A workaround is to first try to use GetEnvironmentVariable on "TMP" and
 "TEMP", then fall back on GetTempPath.

 No patch provided because unfortunately I don't have access to my tools at
 the moment, but it should be a relatively trivial fix.

 Thanks in advance.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5300>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC