Re: [Boost-bugs] [Boost C++ Libraries] #5115: iostreams non_blocking_adapter read bug

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5115: iostreams non_blocking_adapter read bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-24 19:03:51


#5115: iostreams non_blocking_adapter read bug
-------------------------------------------------+--------------------------
  Reporter: Mario Suvajac <msuvajac@…> | Owner: turkanis
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: iostreams
   Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords: non_blocking_adapter, read
-------------------------------------------------+--------------------------

Comment (by Mario Suvajac <msuvajac@…>):

 actually, it should be:

 {{{
 - std::streamsize amt = iostreams::read(device_, s, n);
 + std::streamsize amt = iostreams::read(device_, s + result, n
 - result);
 }}}

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