Skip to content
Snippets Groups Projects
Commit 4479b4c4 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#2962 - EBCDIC db_version string

parent b36e3a1a
No related branches found
No related tags found
No related merge requests found
......@@ -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 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment