Patch level : 10.0 856
Files correlati : mr2.exe Ricompilazione Demo : [ ] Commento : Bug 0001740: conversione archivi PHARMATEX con installate tutte le pach la conversione va in errore come allegato pe ri file 98, 99 e 125. L'errore rimane segnalato per il file 125 ma il file viene sistemato git-svn-id: svn://10.65.10.50/branches/R_10_00@21275 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
06c1fcbeae
commit
5fbe4bcda9
@ -876,7 +876,7 @@ void TManutenzione_app::update_dir()
|
|||||||
if (!p.setstatus(i))
|
if (!p.setstatus(i))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
const TDir & ds = (const TDir &) _dirs[i];
|
const TDir & ds = (const TDir &) _dirs[i];
|
||||||
const bool is_firm = ds.is_firm();
|
const bool is_firm = ds.is_firm();
|
||||||
const bool to_create = (is_com ? ds.is_com() : ds.is_firm());
|
const bool to_create = (is_com ? ds.is_com() : ds.is_firm());
|
||||||
|
|
||||||
@ -944,12 +944,12 @@ void TManutenzione_app::update_dir()
|
|||||||
FOR_EACH_TOKEN(names, name)
|
FOR_EACH_TOKEN(names, name)
|
||||||
xvt_fsys_remove_file(name);
|
xvt_fsys_remove_file(name);
|
||||||
|
|
||||||
err = NOERR;
|
|
||||||
// se si decide di eliminare il file con tracciato del cazzo deve tenerne traccia nel log (nel caso di utonti..
|
// se si decide di eliminare il file con tracciato del cazzo deve tenerne traccia nel log (nel caso di utonti..
|
||||||
//..è sempre così, perchè kill è sempre true)
|
//..è sempre così, perchè kill è sempre true)
|
||||||
TString msg;
|
TString msg;
|
||||||
msg.format(TR("Eliminato il file %d avente tracciato record incoerente"), i);
|
msg.format(TR("Eliminato il file %d avente tracciato record incoerente"), i);
|
||||||
write_log(msg, 2);
|
write_log(msg, 2);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
} //if((err==_istrcerr...
|
} //if((err==_istrcerr...
|
||||||
|
|
||||||
@ -1001,7 +1001,7 @@ void TManutenzione_app::update_dir()
|
|||||||
|
|
||||||
if (to_create && !cmn_file)
|
if (to_create && !cmn_file)
|
||||||
{
|
{
|
||||||
if (flags < 10000L && flags > -1L && fs.exist() && (fd != fs))
|
/* if (flags < 10000L && flags > -1L && fs.exist() && (fd != fs))
|
||||||
{
|
{
|
||||||
|
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
@ -1039,6 +1039,7 @@ void TManutenzione_app::update_dir()
|
|||||||
if (found)
|
if (found)
|
||||||
continue;
|
continue;
|
||||||
path.rtrim(1);
|
path.rtrim(1);
|
||||||
|
|
||||||
if (path.full() && !path.exist())
|
if (path.full() && !path.exist())
|
||||||
ok = make_dir(path);
|
ok = make_dir(path);
|
||||||
if (ok && fcopy(fs, fd))
|
if (ok && fcopy(fs, fd))
|
||||||
@ -1112,7 +1113,9 @@ void TManutenzione_app::update_dir()
|
|||||||
{
|
{
|
||||||
d.set(ds.name(), d.eox(), 0L, ds.des(), d.expr());
|
d.set(ds.name(), d.eox(), 0L, ds.des(), d.expr());
|
||||||
towrite = true;
|
towrite = true;
|
||||||
}
|
}*/
|
||||||
|
d.set(ds.name(), d.eox(), 0L, ds.des(), d.expr());
|
||||||
|
towrite = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user