Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5392: Message queue temporary dir named "Select LastBootUpTime from Win32_OperatingSystem" (on win XP)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-24 16:41:55
#5392: Message queue temporary dir named "Select LastBootUpTime from
Win32_OperatingSystem" (on win XP)
-------------------------------+--------------------------------------------
Reporter: wsx22@⦠| Owner: igaztanaga
Type: Bugs | Status: reopened
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords: interprocess, message queue, temporary directory, temp
-------------------------------+--------------------------------------------
Comment (by anonymous):
I observed this bug on Windows 7 64 bit and Windows XP SP3 32 bit.
Commenting out the
#define BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME
in
boost/interprocess/detail/tmp_dir_helpers.hpp
solved the problem for me in Boost 1.47 but its probably evil
It basically bypasses the whole check the bootstamp and create a folder
named after it stuff which seems to be the root of the problem anyway.
Shared memory then survives reboots though but that is no problem for my
use case.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5392#comment:20> 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:07 UTC