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
old
|
new
|
|
105 | 105 | throw interprocess_exception(err); |
106 | 106 | } |
107 | 107 | //Remove final null. |
108 | | tmp_name += "/boost_interprocess"; |
| 108 | #if !defined(BOOST_INTERPROCESS_WINDOWS) || defined(BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME) |
| 109 | tmp_name += "/boost_interprocess"; |
| 110 | #else |
| 111 | /* Use a different dir name so pre-1.54 boost::interprocess doesn't |
| 112 | * errorneously remove the temp dir */ |
| 113 | tmp_name += "/boost_interprocess2"; |
| 114 | #endif |
109 | 115 | } |
110 | 116 | |
111 | 117 | inline void tmp_folder(std::string &tmp_name) |