mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#4373, fix prev commit
This commit is contained in:
parent
667d3c1a37
commit
a970038b0c
1 changed files with 8 additions and 8 deletions
|
|
@ -219,6 +219,14 @@ bdb_db_open( BackendDB *be )
|
|||
goto fail;
|
||||
}
|
||||
|
||||
#ifdef HAVE_EBCDIC
|
||||
strcpy( path, bdb->bi_dbenv_home );
|
||||
__atoe( path );
|
||||
dbhome = path;
|
||||
#else
|
||||
dbhome = bdb->bi_dbenv_home;
|
||||
#endif
|
||||
|
||||
/* If existing environment is clean but doesn't support
|
||||
* currently requested modes, remove it.
|
||||
*/
|
||||
|
|
@ -261,14 +269,6 @@ bdb_db_open( BackendDB *be )
|
|||
|
||||
#define BDB_TXN_FLAGS (DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_TXN)
|
||||
|
||||
#ifdef HAVE_EBCDIC
|
||||
strcpy( path, bdb->bi_dbenv_home );
|
||||
__atoe( path );
|
||||
dbhome = path;
|
||||
#else
|
||||
dbhome = bdb->bi_dbenv_home;
|
||||
#endif
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"bdb_db_open: dbenv_open(%s)\n",
|
||||
bdb->bi_dbenv_home, 0, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue