Re: [Boost-bugs] [Boost C++ Libraries] #10561: Bugs in dual seekable mode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10561: Bugs in dual seekable mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-06 13:16:25


#10561: Bugs in dual seekable mode
-------------------------------+-----------------------
  Reporter: jlodos@… | Owner: turkanis
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: iostreams
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-----------------------

Comment (by jlodos@…):

 Forgot this:
 5. Bug in the example file container_device.hpp. The function seek (line
 138) checks for errors with next >= container_.size(). But
 container_.size() is a valid value indicating EOF. It should be next >
 container_.size().

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