Re: [Boost-bugs] [Boost C++ Libraries] #7301: Inconsistent use of load_/save_override for serialized file signature

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7301: Inconsistent use of load_/save_override for serialized file signature
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-29 14:30:54


#7301: Inconsistent use of load_/save_override for serialized file signature
-----------------------------------------------------+----------------------
  Reporter: Paul Barba <paul.barba@…> | Owner: ramey
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords: serialization, save_override, file signature
-----------------------------------------------------+----------------------

Comment (by Paul Barba <paul.barba@…>):

 Sorry about the formatting, basic_binary_iarchive.ipp::55 is
 {{{
 std::size_t l;
 this->This()->load(l);
 if(l == std::strlen(BOOST_ARCHIVE_SIGNATURE())) {
  ...
  file_signature.resize(l);
   if(0 < l){
     ...
     this->This()->load_binary(&(*file_signature.begin()), l);
 } }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7301#comment:1>
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:10 UTC