X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frsisam.c;fp=rset%2Frsisam.c;h=40b6aa429c4279963f9de8f7e1d5bee152b868fb;hb=0245f556af399689056b7810ed0e3de93021ad4a;hp=ec1e20339ce1ecb3cb62cc2a1fd2e51183652b9e;hpb=fc7107844c9ec8ea23e680ca4f3231923db4e9c5;p=idzebra-moved-to-github.git diff --git a/rset/rsisam.c b/rset/rsisam.c index ec1e203..40b6aa4 100644 --- a/rset/rsisam.c +++ b/rset/rsisam.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: rsisam.c,v $ - * Revision 1.11 1995-10-06 14:38:05 adam + * Revision 1.12 1995-10-10 14:00:04 adam + * Function rset_open changed its wflag parameter to general flags. + * + * Revision 1.11 1995/10/06 14:38:05 adam * New result set method: r_score. * Local no (sysno) and score is transferred to retrieveCtrl. * @@ -45,7 +48,7 @@ #include static rset_control *r_create(const struct rset_control *sel, void *parms); -static RSFD r_open (rset_control *ct, int wflag); +static RSFD r_open (rset_control *ct, int flag); static void r_close (RSFD rfd); static void r_delete (rset_control *ct); static void r_rewind (RSFD rfd); @@ -101,13 +104,13 @@ static rset_control *r_create(const struct rset_control *sel, void *parms) return newct; } -RSFD r_open (rset_control *ct, int wflag) +RSFD r_open (rset_control *ct, int flag) { struct rset_isam_info *info = ct->buf; struct rset_ispt_info *ptinfo; logf (LOG_DEBUG, "risam_open"); - if (wflag) + if (flag & RSETF_WRITE) { logf (LOG_FATAL, "ISAM set type is read-only"); return NULL;