Diff for /servers/slapd/back-bdb/dbcache.c between versions 1.18 and 1.20

version 1.18, 2002/07/11 18:33:30 version 1.20, 2002/08/22 02:39:59
Line 1 Line 1
 /* dbcache.c - manage cache of open databases */  /* dbcache.c - manage cache of open databases */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/dbcache.c,v 1.17 2002/04/05 03:59:04 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/dbcache.c,v 1.19 2002/08/22 02:01:42 hyc Exp $ */
 /*  /*
  * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 109  bdb_db_cache( Line 109  bdb_db_cache(
         file = ch_malloc( strlen( name ) + sizeof(BDB_SUFFIX) );          file = ch_malloc( strlen( name ) + sizeof(BDB_SUFFIX) );
         sprintf( file, "%s" BDB_SUFFIX, name );          sprintf( file, "%s" BDB_SUFFIX, name );
   
         rc = db->bdi_db->open( db->bdi_db,  #ifdef HAVE_EBCDIC
           __atoe( file );
   #endif
           rc = DB_OPEN( db->bdi_db,
                 file, name,                  file, name,
                 DB_HASH, bdb->bi_db_opflags | DB_CREATE | DB_THREAD,                  DB_HASH, bdb->bi_db_opflags | DB_CREATE | DB_THREAD,
                 bdb->bi_dbenv_mode );                  bdb->bi_dbenv_mode );

Removed from v.1.18  
changed lines
  Added in v.1.20


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org