Re: [Boost-bugs] [Boost C++ Libraries] #8598: asio::streambuf: commit(n) appears to add n+1

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8598: asio::streambuf: commit(n) appears to add n+1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-24 02:36:06


#8598: asio::streambuf: commit(n) appears to add n+1
---------------------------------------------------------------------------+
  Reporter: Mike Cowperthwaite <michael.cowperthwaite@…> | Owner: chris_kohlhoff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.53.0 | Severity: Problem
Resolution: invalid | Keywords:
---------------------------------------------------------------------------+
Changes (by chris_kohlhoff):

  * status: new => closed
  * resolution: => invalid

Comment:

 Please see:

 http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/reference/basic_streambuf/commit.html

 which says:

> Requires a preceding call prepare(x) where x >= n

 Since you do not call prepare(), you don't need to call commit.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8598#comment:2>
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:13 UTC