forked from enlightenment/efl
parent
2a169ea4e4
commit
e845e82b30
|
@ -598,11 +598,7 @@ ecore_file_mv(const char *src, const char *dst)
|
|||
dir, ecore_file_file_get(dst));
|
||||
free(dir);
|
||||
fd = mkstemp(buf);
|
||||
if (fd < 0)
|
||||
{
|
||||
perror("mkstemp");
|
||||
goto FAIL;
|
||||
}
|
||||
if (fd < 0) goto FAIL;
|
||||
close(fd);
|
||||
|
||||
// Copy to temp file
|
||||
|
|
Loading…
Reference in New Issue