On 2009-01-27, Anuradha Suraparaju <[email protected]> wrote: > Fix bug in schro_buflist_extract where bytes equal in length to the
Doh, yes, introduced by the refactoring. > buf = schro_buffer_new_and_alloc (len); > - schro_buflist_peekbytes (buf->data, len, buflist, start); > + schro_buflist_peekbytes (buf->data, len, buflist, 0); NAK, it needs to use the original value of start. Actually, i'm not sure why _extract() takes an offset, i don't need it in the bufferlist stuff (i expect its from porting my original design). likewise, _extract() could mark the buffer region as consumed. ..david ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Schrodinger-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/schrodinger-devel
