Aggiunto spostamento dei file memo nell'update di un archivio

git-svn-id: svn://10.65.10.50/trunk@2239 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1995-12-05 11:49:39 +00:00
parent 3469988609
commit 0d6a986a85

View File

@ -1840,6 +1840,13 @@ int TSystemisamfile::update(TTrec& newrec, bool vis)
tmpfname.ext("dbf");
fcopy((const char*)tmpfname,(const char*)fname);
::remove((const char*)tmpfname);
tmpfname.ext("fpt");
if (fexist((const char *) tmpfname))
{
fname.ext("fpt");
fcopy((const char*)tmpfname,(const char*)fname);
::remove((const char*)tmpfname);
}
if (c & 1) // FOXPRO format
tmpfname.ext("cdx");
if (c & 4) // DBIV format