Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52069 - trunk/boost/flyweight
From: joaquin_at_[hidden]
Date: 2009-03-30 15:34:56


Author: joaquin
Date: 2009-03-30 15:34:54 EDT (Mon, 30 Mar 2009)
New Revision: 52069
URL: http://svn.boost.org/trac/boost/changeset/52069

Log:
made Boost.Interprocess names shorter to accommodate some filesystems
Text files modified:
   trunk/boost/flyweight/intermodule_holder.hpp | 12 ++++--------
   1 files changed, 4 insertions(+), 8 deletions(-)

Modified: trunk/boost/flyweight/intermodule_holder.hpp
==============================================================================
--- trunk/boost/flyweight/intermodule_holder.hpp (original)
+++ trunk/boost/flyweight/intermodule_holder.hpp 2009-03-30 15:34:54 EDT (Mon, 30 Mar 2009)
@@ -119,12 +119,10 @@
       std::sprintf(
         mutex_name,
         "boost_flyweight_intermodule_holder_mutex_"
- "%ld_%u_%u_%u_%u",
+ "%ld_%u_%u",
         (long)detail::process_id(),
         (unsigned)compute_hash(typeid(C).name(),0),
- (unsigned)compute_hash(typeid(C).name(),1),
- (unsigned)compute_hash(typeid(C).name(),2),
- (unsigned)compute_hash(typeid(C).name(),3));
+ (unsigned)compute_hash(typeid(C).name(),1));
 
       return mutex_name;
     }
@@ -134,12 +132,10 @@
       std::sprintf(
         segment_name,
         "boost_flyweight_intermodule_holder_segment_"
- "%ld_%u_%u_%u_%u",
+ "%ld_%u_%u",
         (long)detail::process_id(),
         (unsigned)compute_hash(typeid(C).name(),0),
- (unsigned)compute_hash(typeid(C).name(),1),
- (unsigned)compute_hash(typeid(C).name(),2),
- (unsigned)compute_hash(typeid(C).name(),3));
+ (unsigned)compute_hash(typeid(C).name(),1));
 
       return segment_name;
     }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk