Lines Matching defs:dest
41 const char *dest;
66 dest = last;
72 dest = concat_path_file(last, bb_get_last_path_component(*argv));
73 dest_exists = cp_mv_stat(dest, &dest_stat);
81 ((access(dest, W_OK) < 0 && isatty(0)) ||
83 if (fprintf(stderr, "mv: overwrite '%s'? ", dest) < 0) {
90 if (rename(*argv, dest) < 0) {
110 if (unlink(dest) < 0) {
111 bb_perror_msg("cannot remove '%s'", dest);
119 if ((copy_file(*argv, dest, copy_flag) >= 0) &&
128 if (dest != last) {
129 free((void *) dest);