D | install.c | 415 copy_file (char const *from, char const *to, in copy_file() argument 420 if (copy_only_if_needed && !need_copy (from, to, to_dirfd, to_relname, x)) in copy_file() 429 return copy (from, to, to_dirfd, to_relname, 0, x, ©_into_self, nullptr); in copy_file() 654 install_file_in_file (char const *from, char const *to, in install_file_in_file() argument 664 if (! copy_file (from, to, to_dirfd, to_relname, x)) in install_file_in_file() 667 if (! strip (to)) in install_file_in_file() 670 error (EXIT_FAILURE, errno, _("cannot unlink %s"), quoteaf (to)); in install_file_in_file() 674 && ! change_timestamps (&from_sb, to, to_dirfd, to_relname)) in install_file_in_file() 676 return change_attributes (to, to_dirfd, to_relname); in install_file_in_file() 684 mkancesdirs_safe_wd (char const *from, char *to, struct cp_options *x, in mkancesdirs_safe_wd() argument [all …]
|