DMS are now locked when used by a command. Added checks and changed
cleaning mechanisms.
This commit is contained in:
@ -749,7 +749,7 @@ int obi_ecopcr(const char* i_dms_name,
|
||||
tm = (tm1 < tm2) ? tm1:tm2;
|
||||
|
||||
// Open input DMS
|
||||
i_dms = obi_open_dms(i_dms_name);
|
||||
i_dms = obi_open_dms(i_dms_name, false);
|
||||
if (i_dms == NULL)
|
||||
{
|
||||
obidebug(1, "\nError opening the input DMS");
|
||||
@ -765,7 +765,7 @@ int obi_ecopcr(const char* i_dms_name,
|
||||
}
|
||||
|
||||
// Open output DMS
|
||||
o_dms = obi_open_dms(o_dms_name);
|
||||
o_dms = obi_open_dms(o_dms_name, false);
|
||||
if (o_dms == NULL)
|
||||
{
|
||||
obidebug(1, "\nError opening the output DMS");
|
||||
|
Reference in New Issue
Block a user