From: John L. <le...@mo...> - 2003-03-06 16:14:52
|
On Thu, Mar 06, 2003 at 05:09:25PM +0000, Philippe Elie wrote: > if you like it push it please. Did you test it ? It was there for a reason, but something must have changed because : > - if (tail == head) > - return b->buffer_size; > > if (tail > head) > return tail - head; > > return tail + (b->buffer_size - head); This looks like it must make sense. I guess I had if (tail >= head) at some point. regards, john |