[Boost-bugs] [Boost C++ Libraries] #9649: boost_interprocess, Win32: apps build with boost <1.54 remove temp files from apps >=1.54 (and vice versa)

Subject: [Boost-bugs] [Boost C++ Libraries] #9649: boost_interprocess, Win32: apps build with boost <1.54 remove temp files from apps >=1.54 (and vice versa)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-10 17:47:06


#9649: boost_interprocess, Win32: apps build with boost <1.54 remove temp files
from apps >=1.54 (and vice versa)
------------------------------+--------------------------
 Reporter: frank.richter@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
------------------------------+--------------------------
 In boost 1.54, the format of the interprocess temporary file name changed
 (previously something like `20140205173952.047159`, now like
 `1391618455`).
 Unfortunately, this means that the "clean out previous boot session
 directories" recognizes the respective other filename as an "old"
 filename, even though it really isn't.
 Suppose you create an interprocess object with "Kernel or Filesystem" or
 persistence in an app A build against boost 1.54. You store something in
 it, but close it with the intention of re-opening it later (the desired
 persistence allows for that). But you happen to start an app B build
 against pre-1.54 in the meantime ... this cleans out the temp dir,
 incorrectly discarding the interprocess objects A created earlier.
 The attached patch changes the temp dir name if the "new" format is used.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9649>
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:15 UTC