Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 15597 invoked by uid 500); 25 Jan 2002 21:19:55 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 15586 invoked by uid 500); 25 Jan 2002 21:19:55 -0000 Delivered-To: apmail-apr-util-cvs@apache.org Date: 25 Jan 2002 21:19:54 -0000 Message-ID: <20020125211954.43790.qmail@icarus.apache.org> From: ianh@apache.org To: apr-util-cvs@apache.org Subject: cvs commit: apr-util/dbm apr_dbm_berkeleydb.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ianh 02/01/25 13:19:54 Modified: . CHANGES dbm apr_dbm_berkeleydb.c Log: compatibility issue: sdbm returns a NULL key on getnextkey at EOF. berkeleyDB didn't Revision Changes Path 1.54 +3 -0 apr-util/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/apr-util/CHANGES,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- CHANGES 20 Jan 2002 11:20:27 -0000 1.53 +++ CHANGES 25 Jan 2002 21:19:54 -0000 1.54 @@ -1,5 +1,8 @@ Changes with APR-util b1 + *) BerkleyDB should NULL out the key if it is @EOF in vt_db_nextkey + [Ian Holsman] + *) Add ability to natively fetch and split brigades based on LF lines. [Justin Erenkrantz] 1.16 +2 -0 apr-util/dbm/apr_dbm_berkeleydb.c Index: apr_dbm_berkeleydb.c =================================================================== RCS file: /home/cvs/apr-util/dbm/apr_dbm_berkeleydb.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- apr_dbm_berkeleydb.c 19 Jan 2002 05:15:55 -0000 1.15 +++ apr_dbm_berkeleydb.c 25 Jan 2002 21:19:54 -0000 1.16 @@ -386,6 +386,8 @@ (*f->curs->c_close)(f->curs); f->curs = NULL; dberr = 0; + ckey.data = NULL; + ckey.size =0; } #endif