Modificata la TSystemisamfile::update(): aggiunta la copia per i
file memo per DBIII e DBIV. git-svn-id: svn://10.65.10.50/trunk@2301 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f24bd9b001
commit
55644ed760
@ -1896,10 +1896,16 @@ int TSystemisamfile::update(
|
||||
tmpfname.ext("dbf");
|
||||
fcopy((const char*)tmpfname,(const char*)fname);
|
||||
::remove((const char*)tmpfname);
|
||||
if (c & 1)
|
||||
tmpfname.ext("fpt");
|
||||
else
|
||||
tmpfname.ext("dbt");
|
||||
if (fexist((const char *) tmpfname))
|
||||
{
|
||||
if (c & 1)
|
||||
fname.ext("fpt");
|
||||
else
|
||||
fname.ext("dbt");
|
||||
fcopy((const char*)tmpfname,(const char*)fname);
|
||||
::remove((const char*)tmpfname);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user