Axel Dörfler 0e5a3fc6c6 * BufferQueue::Get(size_t ...) now always returns successfully if it does not
return an empty buffer. This should avoid losing data in case not everything
  could be appended due to a resource shortage.
* Also, it now assures that fNumBytes and fContiguousBytes are always
  maintained correctly, thanks to Adrian for pointing this out! This should
  fix bug #2594.
* Added extra debug code to BufferQueue::RemoveUntil() so that it checks
  whether or not fContiguousBytes could be maintained correctly (ie. if this
  function is called only as thought).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-08 18:31:22 +00:00
..
2009-01-08 16:16:58 +00:00