forked from enlightenment/efl
parent
2fc139fd86
commit
4545433592
|
@ -129,11 +129,11 @@ ecore_file_cp(const char *src, const char *dst)
|
|||
char realpath2[PATH_MAX];
|
||||
size_t num;
|
||||
|
||||
if(realpath(src, realpath1) && realpath(src,realpath2))
|
||||
if(!strcmp(realpath1, realpath2))
|
||||
if (realpath(src, realpath1) && realpath(src,realpath2))
|
||||
if (!strcmp(realpath1, realpath2))
|
||||
return 0;
|
||||
else
|
||||
return 0;
|
||||
else
|
||||
return 0;
|
||||
|
||||
f1 = fopen(src, "rb");
|
||||
if (!f1) return 0;
|
||||
|
|
Loading…
Reference in New Issue