mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 18:56:49 +01:00
0e5a3fc6c6
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