From 58d3dcbd7f5bb2545776b1f70a8366930f4eefab Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 18 Apr 2002 19:48:28 +0000 Subject: [PATCH] rs_and reads all items --- rset/rsbool.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rset/rsbool.c b/rset/rsbool.c index dce5eb2..9d51655 100644 --- a/rset/rsbool.c +++ b/rset/rsbool.c @@ -3,7 +3,7 @@ * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * - * $Id: rsbool.c,v 1.17 2002-03-20 20:24:30 adam Exp $ + * $Id: rsbool.c,v 1.18 2002-04-18 19:48:28 adam Exp $ */ #include @@ -237,6 +237,12 @@ static int r_read_and (RSFD rfd, void *buf, int *term_index) p->more_l = rset_read (info->rset_l, p->rfd_l, p->buf_l, &p->term_index_l); } + while (p->more_l) + p->more_l = rset_read (info->rset_l, p->rfd_l, p->buf_l, + &p->term_index_l); + while (p->more_r) + p->more_r = rset_read (info->rset_r, p->rfd_r, p->buf_r, + &p->term_index_r); return 0; } -- 1.7.10.4