Patch level :2.0 470
Files correlati :libs + ve5.exe Ricompilazione Demo : [ ] Commento :solito AO20012 git-svn-id: svn://10.65.10.50/trunk@11149 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
9ec1904c76
commit
f3bc277af6
@ -368,6 +368,8 @@ bool TArchive::zip(
|
||||
|
||||
bool ok = ::aga_zip_filelist(ZIPLIST, work);
|
||||
|
||||
remove(ZIPLIST); //elimina il file di testo con la lista dei files
|
||||
|
||||
xvt_fsys_set_dir( &currdir); //torna a posizionarsi nella directory iniziale
|
||||
|
||||
if (ok)
|
||||
@ -447,7 +449,7 @@ bool TArchive::unzip(
|
||||
unsigned long read_size = 0;
|
||||
|
||||
TFilename restored;
|
||||
restored = work;
|
||||
restored.tempdir();
|
||||
restored.add(output.name());
|
||||
restored.ext("zip");
|
||||
|
||||
@ -476,7 +478,11 @@ bool TArchive::unzip(
|
||||
}
|
||||
ok = read_size == total_size;
|
||||
if (ok)
|
||||
{
|
||||
ok = ::aga_unzip(restored, work);
|
||||
if (ok)
|
||||
remove(restored);
|
||||
}
|
||||
else
|
||||
error_box("Il file %s non è stato ripristinato completamente", (const char*)restored);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user