/programs/cmm/lib/copyf.h |
---|
24,7 → 24,7 |
debugln("Error: copyf->GetFileInfo"); |
return error; |
} |
if (isdir(from1)) |
if (dir_exists(from1)) |
return CopyFolder(from1, in1); |
else |
{ |
85,7 → 85,7 |
sprintf(#copy_from2,"%s/%s",from2,filename); |
sprintf(#copy_in2,"%s/%s",in2,filename); |
if ( TestBit(ESDWORD[filename-40], 4) ) //isdir? |
if ( TestBit(ESDWORD[filename-40], 4) ) //dir_exists? |
{ |
if ( (!strncmp(filename, ".",1)) || (!strncmp(filename, "..",2)) ) continue; |
CopyFolder(#copy_from2, #copy_in2); |