The endianness of an OBIDMS is now stored in an informations file that
is read when opening the OBIDMS.
This commit is contained in:
@ -339,7 +339,7 @@ static obiversion_t create_version_file(OBIDMS_column_directory_p column_directo
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Position offset to 0 to prepare for writing
|
||||
// Position offset to 0 to prepare for writing // TODO Unnecessary?
|
||||
if (lseek(version_file_descriptor, 0, SEEK_SET) != 0)
|
||||
{
|
||||
obi_set_errno(OBICOL_UNKNOWN_ERROR);
|
||||
@ -358,7 +358,7 @@ static obiversion_t create_version_file(OBIDMS_column_directory_p column_directo
|
||||
}
|
||||
|
||||
// Prepare for unlocking
|
||||
if (lseek(version_file_descriptor, 0, SEEK_SET) != 0)
|
||||
if (lseek(version_file_descriptor, 0, SEEK_SET) != 0) // TODO Unnecessary?
|
||||
{
|
||||
obi_set_errno(OBICOL_UNKNOWN_ERROR);
|
||||
obidebug(1, "\nError preparing a version file for unlocking");
|
||||
|
Reference in New Issue
Block a user