diff -ru boost_1_55_0.org/boost/interprocess/detail/tmp_dir_helpers.hpp boost_1_55_0/boost/interprocess/detail/tmp_dir_helpers.hpp --- boost_1_55_0.org/boost/interprocess/detail/tmp_dir_helpers.hpp Sun Sep 8 20:07:03 2013 +++ boost_1_55_0/boost/interprocess/detail/tmp_dir_helpers.hpp Mon Feb 10 15:32:12 2014 @@ -105,7 +105,13 @@ throw interprocess_exception(err); } //Remove final null. - tmp_name += "/boost_interprocess"; + #if !defined(BOOST_INTERPROCESS_WINDOWS) || defined(BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME) + tmp_name += "/boost_interprocess"; + #else + /* Use a different dir name so pre-1.54 boost::interprocess doesn't + * errorneously remove the temp dir */ + tmp_name += "/boost_interprocess2"; + #endif } inline void tmp_folder(std::string &tmp_name)