Patch level :2.1 112
Files correlati :ba2.exe Ricompilazione Demo : [ ] Commento : AO21036 Non si riesce a fare il backup in quanto viene sempre restituito il messaggio: "Si ? verificato un errore di accesso al disco: verificare lo spazio disponibile"; premesso che sul disco c'? pi? di 1Gb di spazio libero. Il ripristino invece funziona correttamente. git-svn-id: svn://10.65.10.50/trunk@12310 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
14bf3ae259
commit
9f197f2b17
@ -382,6 +382,13 @@ void TArchive_app::backup(int mode, long firm, const TFilename& floppy_path, con
|
||||
name = firm2dir(-1); // __ptprf
|
||||
name.add("config"); // Aggiungi configurazioni
|
||||
ok = zip_dir(name, max_chunk);
|
||||
}
|
||||
if (ok && (mode & 0x8))
|
||||
{
|
||||
name = firm2dir(-1); // __ptprf
|
||||
name.add("m770"); // Aggiungi 770
|
||||
if (name.exist())
|
||||
ok = zip_dir(name, max_chunk);
|
||||
}
|
||||
if (ok && (mode & 0x10))
|
||||
{
|
||||
@ -390,14 +397,6 @@ void TArchive_app::backup(int mode, long firm, const TFilename& floppy_path, con
|
||||
if (name.exist())
|
||||
ok = zip_dir(name, max_chunk);
|
||||
}
|
||||
|
||||
if (ok && (mode & 0x8))
|
||||
{
|
||||
name = firm2dir(-1); // __ptprf
|
||||
name.add("m770"); // Aggiungi 770
|
||||
if (name.exist())
|
||||
ok = zip_dir(name, max_chunk);
|
||||
}
|
||||
|
||||
prefix().set(old); // Ripristina prefix
|
||||
|
||||
@ -507,12 +506,12 @@ void TArchive_app::restore(int mode, long firm, const TFilename& floppy_path)
|
||||
if (mode & 0x4)
|
||||
read_paragraph(ini, "config");
|
||||
|
||||
if (mode & 0x10)
|
||||
read_paragraph(ini, "custom");
|
||||
|
||||
if (mode & 0x8)
|
||||
read_paragraph(ini, "m770");
|
||||
|
||||
if (mode & 0x10)
|
||||
read_paragraph(ini, "custom");
|
||||
|
||||
const int tot = _zip_list.items();
|
||||
if (tot > 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user