diff --git a/include/isam.cpp b/include/isam.cpp index 2a35fa817..895c66b60 100755 --- a/include/isam.cpp +++ b/include/isam.cpp @@ -901,7 +901,7 @@ int TSystemisamfile::build(TRecnotype eox) d.get(num()); TFilename f(d.name()); - f = f.path(); + f = f.path(); if (!is_not_slash(f.right(1)[0])) f.rtrim(1); if (!fexist(f)) make_dir(f); @@ -1036,7 +1036,7 @@ int TSystemisamfile::update(TTrec& newrec, bool vis) TDir dir; - dir.get(num(), _lock, _nordir, _sysdirop); + dir.get(num(), _unlock, _nordir, _sysdirop); const char p = *dir.name(); const bool is_com = prefix().is_com(); const bool toconvert = is_com ? dir.is_com() : dir.is_firm(); @@ -1079,7 +1079,7 @@ int TSystemisamfile::update(TTrec& newrec, bool vis) setstatus(err); return err; } - open(_excllock); + open(); TFilename fname(filename()); TString s(80); s.format("Aggiornamento archivio %s", (const char*) fname);