Subject: [Boost-bugs] [Boost C++ Libraries] #2967: Patch to make boost::interprocess::get_temporary_path() more robust.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-24 21:14:28
#2967: Patch to make boost::interprocess::get_temporary_path() more robust.
-----------------------------------------------------+----------------------
Reporter: Lawrence Gold <lgold_at_[hidden]> | Owner: igaztanaga
Type: Patches | Status: new
Milestone: Boost 1.39.0 | Component: interprocess
Version: Boost 1.38.0 | Severity: Problem
Keywords: |
-----------------------------------------------------+----------------------
The attached patch causes boost::interprocess::get_temporary_path() to
make sure the paths in the given environment variables are valid before
assuming success.
I'm using OS X, and had deleted the last directory listed in $TMPDIR,
which caused boost::interprocess::message_queue to fail. Granted, that's
not likely to happen very often, but it'd be nice to be able to handle
sabotage from an idiot like me.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2967> 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:00 UTC