mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#2962 - EBCDIC db_version string
This commit is contained in:
parent
b36e3a1ab0
commit
4479b4c417
@ -152,8 +152,16 @@ int ldbm_initialize( const char* home )
|
||||
|
||||
{
|
||||
char *version;
|
||||
#ifdef HAVE_EBCDIC
|
||||
char v2[1024];
|
||||
#endif
|
||||
int major, minor, patch;
|
||||
version = db_version( &major, &minor, &patch );
|
||||
#ifdef HAVE_EBCDIC
|
||||
strcpy( v2, version );
|
||||
__etoa( v2 );
|
||||
version = v2;
|
||||
#endif
|
||||
|
||||
if( major != DB_VERSION_MAJOR ||
|
||||
minor < DB_VERSION_MINOR )
|
||||
|
Loading…
Reference in New Issue
Block a user