DMS are now locked when used by a command. Added checks and changed

cleaning mechanisms.
This commit is contained in:
Celine Mercier
2019-09-20 20:37:19 +02:00
parent eb6c59dc1e
commit 783a1343c4
14 changed files with 378 additions and 28 deletions

View File

@ -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");