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:
parent
a01ee6d22d
commit
781a2244dc
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user