Patch level :2.1 26
Files correlati :ve5.exe Ricompilazione Demo : [ ] Commento :bug 96:aggiunto trattamento del caso c:\ git-svn-id: svn://10.65.10.50/trunk@11980 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a8593f23e0
commit
b6e745f321
@ -189,7 +189,7 @@ void TArchive_doc::archivia(const TMask& m)
|
||||
|
||||
TFilename unit;
|
||||
unit << _unit << ':' << SLASH;
|
||||
if (!xvt_fsys_is_removable_drive(unit)) //se il drive non e' rimovibile,sposta i files dalla root del drive
|
||||
if (!xvt_fsys_is_removable_drive(unit) && _path != "") //se il drive non e' rimovibile,sposta i files dalla root del drive
|
||||
{ //alla target dir scritta sulla maschera
|
||||
for (int i = 0; i<= 1; i++)
|
||||
{
|
||||
@ -216,7 +216,7 @@ void TArchive_doc::ripristina(const TMask& m)
|
||||
TFilename unit;
|
||||
unit << _unit << ':' << SLASH;
|
||||
|
||||
if (!xvt_fsys_is_removable_drive(unit)) //ripristina dalla directory scelta come origine dei dati
|
||||
if (!xvt_fsys_is_removable_drive(unit) && _path != "") //ripristina dalla directory scelta come origine dei dati
|
||||
{
|
||||
TFilename path;
|
||||
path << _unit << ':' << SLASH << _path;
|
||||
@ -271,8 +271,8 @@ void TArchive_doc::ripristina(const TMask& m)
|
||||
delete_tmp_files(TRUE); // Removes temp files!
|
||||
doc.close();
|
||||
|
||||
//elimina i files creati sulla root di un eventuale unita' fissa
|
||||
if (!xvt_fsys_is_removable_drive(unit))
|
||||
//elimina i files copiati sulla root di un eventuale unita' fissa
|
||||
if (!xvt_fsys_is_removable_drive(unit) && _path != "")
|
||||
{
|
||||
for (int i = 0; i<= 1; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user