Evita di copiare Thumbs.db durante il setup

git-svn-id: svn://10.65.10.50/branches/R_10_00@22709 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2012-07-19 12:24:39 +00:00
parent a01ee6d22d
commit 781a2244dc
2 changed files with 5 additions and 2 deletions

View File

@ -1337,9 +1337,12 @@ bool TMenu_application::copy_setup(const TString& remote_path)
TFilename strsrc, strdst;
FOR_EACH_ARRAY_ROW (ar, i, row)
{
const char* n = strsrc.name();
if (xvt_str_compare_ignoring_case(n, "Thumbs.db") == 0)
continue;
strsrc = *row;
strdst = local_setupdir;
strdst.add(strsrc.name());
strdst.add(n);
//se la copia dei files si inchioda esce
ok = fcopy(strsrc, strdst);
if (!ok)

View File

@ -519,7 +519,7 @@ bool Tdninst_mask::get_remote_dninst()
const TString& n = remote_dninst(10);
if (n.full())
{
const int minsize = 48*1024;
const int minsize = 46*1024;
if (fcopy(n, DNINST_BAK, false, true))
{
const int size = fsize(DNINST_BAK);