X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=rset%2Frstemp.c;h=e2a49e13a018c695187415371156e17aea8eba92;hb=e6b40b4f140e8f7348fff1f7be78ac78946421ff;hp=76b08c2c6d5c620e345d3842f9d48ddafde97a85;hpb=433f7360a01640cfdbe09ce7ae19f3319b348bb3;p=idzebra-moved-to-github.git diff --git a/rset/rstemp.c b/rset/rstemp.c index 76b08c2..e2a49e1 100644 --- a/rset/rstemp.c +++ b/rset/rstemp.c @@ -1,4 +1,4 @@ -/* $Id: rstemp.c,v 1.36 2004-01-16 15:27:35 heikki Exp $ +/* $Id: rstemp.c,v 1.37 2004-08-03 12:15:45 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Index Data Aps @@ -39,7 +39,7 @@ static RSFD r_open (RSET ct, int flag); static void r_close (RSFD rfd); static void r_delete (RSET ct); static void r_rewind (RSFD rfd); -static int r_count (RSET ct); +/* static int r_count (RSET ct);*/ static int r_read (RSFD rfd, void *buf, int *term_index); static int r_write (RSFD rfd, const void *buf); @@ -52,7 +52,7 @@ static const struct rset_control control = r_delete, r_rewind, rset_default_forward, - r_count, + /* r_count, */ r_read, r_write, }; @@ -307,13 +307,14 @@ static void r_rewind (RSFD rfd) r_reread (rfd); } +/* static int r_count (RSET ct) { struct rset_temp_info *info = (struct rset_temp_info *) ct->buf; return info->pos_end / info->key_size; } - +*/ static int r_read (RSFD rfd, void *buf, int *term_index) { struct rset_temp_rfd *mrfd = (struct rset_temp_rfd*) rfd;