Lines Matching refs:rename_errno
2222 int rename_errno = x->rename_errno; in copy_internal() local
2225 if (rename_errno < 0) in copy_internal()
2226 rename_errno = (renameatu (AT_FDCWD, src_name, dst_dirfd, drelname, in copy_internal()
2229 nonexistent_dst = *rename_succeeded = rename_errno == 0; in copy_internal()
2232 if (rename_errno == 0 in copy_internal()
2234 : rename_errno != EEXIST in copy_internal()
2237 char const *name = rename_errno == 0 ? dst_name : src_name; in copy_internal()
2238 int dirfd = rename_errno == 0 ? dst_dirfd : AT_FDCWD; in copy_internal()
2239 char const *relname = rename_errno == 0 ? drelname : src_name; in copy_internal()
2302 if (! (rename_errno == EEXIST in copy_internal()
2325 rename_errno = EEXIST; in copy_internal()
2342 if (rename_errno == EEXIST) in copy_internal()
2660 if (rename_errno == 0) in copy_internal()
2755 if (rename_errno == EEXIST) in copy_internal()
2756 rename_errno = (renameat (AT_FDCWD, src_name, dst_dirfd, drelname) == 0 in copy_internal()
2759 if (rename_errno == 0) in copy_internal()
2796 if (rename_errno == EINVAL) in copy_internal()
2831 if (rename_errno != EXDEV || x->no_copy) in copy_internal()
2844 switch (rename_errno) in copy_internal()
2854 error (0, rename_errno, _("cannot overwrite %s"), in copy_internal()
2859 error (0, rename_errno, _("cannot move %s to %s"), in copy_internal()
3447 x->rename_errno = -1; in cp_options_default()