Lines Matching refs:p_path

109 		(void)unlink(to.p_path);  in copy_file()
110 if (link(entp->fts_path, to.p_path)) { in copy_file()
111 warn("%s", to.p_path); in copy_file()
139 (void)fprintf(stderr, "overwrite %s? ", to.p_path); in copy_file()
150 lstat(to.p_path, &sb) : stat(to.p_path, &sb); in copy_file()
152 warn("stat: %s", to.p_path); in copy_file()
158 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0); in copy_file()
160 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT, in copy_file()
168 (void)unlink(to.p_path); in copy_file()
169 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT, in copy_file()
174 warn("%s", to.p_path); in copy_file()
190 fi.to = to.p_path; in copy_file()
223 warn("%s", to.p_path); in copy_file()
244 warn("%s", to.p_path); in copy_file()
259 warn("%s: error copying extended attributes", to.p_path); in copy_file()
284 warn("%s", to.p_path); in copy_file()
288 warn("%s", to.p_path); in copy_file()
293 warn("%s", to.p_path); in copy_file()
297 if (pflag && set_utimes(to.p_path, fs)) { in copy_file()
314 if (exists && unlink(to.p_path)) { in copy_link()
315 warn("unlink: %s", to.p_path); in copy_link()
318 if (symlink(target, to.p_path)) { in copy_link()
328 if (exists && unlink(to.p_path)) { in copy_fifo()
329 warn("unlink: %s", to.p_path); in copy_fifo()
332 if (mkfifo(to.p_path, from_stat->st_mode)) { in copy_fifo()
333 warn("mkfifo: %s", to.p_path); in copy_fifo()
342 if (exists && unlink(to.p_path)) { in copy_special()
343 warn("unlink: %s", to.p_path); in copy_special()
346 if (mknod(to.p_path, from_stat->st_mode, from_stat->st_rdev)) { in copy_special()
347 warn("mknod: %s", to.p_path); in copy_special()
379 lchown(to.p_path, fs->st_uid, fs->st_gid)) { in setfile()
381 warn("chown: %s", to.p_path); in setfile()
386 if (fd ? fchmod(fd, fs->st_mode) : lchmod(to.p_path, fs->st_mode)) { in setfile()
387 warn("chmod: %s", to.p_path); in setfile()
403 chflags(to.p_path, fflags)) == -1) in setfile()
405 warn("chflags: %s", to.p_path); in setfile()
410 if (fd == 0 && set_utimes(to.p_path, fs)) in setfile()
428 warn("fpathconf(..., _PC_ACL_NFS4) failed for %s", to.p_path); in preserve_fd_acls()
438 to.p_path); in preserve_fd_acls()
447 warn("failed to get acl entries while setting %s", to.p_path); in preserve_fd_acls()
451 warn("acl_is_trivial() failed for %s", to.p_path); in preserve_fd_acls()
460 warn("failed to set acl entries for %s", to.p_path); in preserve_fd_acls()