apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject cvs commit: apr-util/dbm apr_dbm_berkeleydb.c
Date Fri, 25 Jan 2002 21:19:54 GMT
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
   
  
  
  

Mime
View raw message