Ticket #4654: patchfile.patch
File patchfile.patch, 532 bytes (added by , 12 years ago) |
---|
-
detail/restrict_impl.hpp
191 191 } 192 192 if (next < beg_ || (end_ != -1 && next >= end_)) 193 193 boost::throw_exception(bad_seek()); 194 pos_ = this->component().seek(dev, next , BOOST_IOS::cur);194 pos_ = this->component().seek(dev, next - pos_, BOOST_IOS::cur); 195 195 return offset_to_position(pos_ - beg_); 196 196 } 197 197