From f6dfb7b9606114bba698be1f6bfea767ce25481f Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sat, 6 Apr 2013 10:34:49 -0400 Subject: use undoPrepend recursively (clone-modify error) --- colm/input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/colm/input.c b/colm/input.c index b4bb94e8..890e9e00 100644 --- a/colm/input.c +++ b/colm/input.c @@ -806,8 +806,7 @@ static int _undoPrependData( StreamImpl *is, int length ) if ( buf->type == RunBufSourceType ) { Stream *stream = (Stream*)buf->tree; - /* FIXME: provide real impl. */ - int slen = stream->in->funcs->consumeData( stream->in, length, 0 ); + int slen = stream->in->funcs->undoPrependData( stream->in, length ); consumed += slen; length -= slen; -- cgit v1.2.1