to = partialptr;
}
if (copy_file(from, to, -1, mode, 0) != 0)
to = partialptr;
}
if (copy_file(from, to, -1, mode, 0) != 0)
STRUCT_STAT st;
int statret = do_lstat(dir, &st);
if (statret == 0 && !S_ISDIR(st.st_mode)) {
STRUCT_STAT st;
int statret = do_lstat(dir, &st);
if (statret == 0 && !S_ISDIR(st.st_mode)) {