else if (op==opSKIP) WRITE_MSG(1, "skipping '");
else { assert(false); abort(); }
- write(1, show_path->d, show_path->l);
+ Vwrite(1, show_path->d, show_path->l);
WRITE_MSG(1, "'\n");
}
return (global_args->do_dry_run ||
( op==opSKIP) ||
- ( op==opUNIFY && Unify_unify(src_path->d, exp_stat, dst_path->d)) ||
+ ( op==opUNIFY && Unify_unify(src_path->d, exp_stat, dst_path->d, false)) ||
((op==opCOPY ||
op==opDIR) && Unify_copy (src_path->d, exp_stat, dst_path->d)));
}
perror("lstat()");
else {
Operation op = checkDirEntry(&src_path, &f_stat);
- PathInfo dst_path = global_info.src_list.root;
+ PathInfo dst_path = global_info.dst_list.root;
char dst_path_buf[ENSC_PI_APPSZ(dst_path, src_path)];
PathInfo_append(&dst_path, &src_path, dst_path_buf);