Home
last modified time | relevance | path

Searched refs:rename_errno (Results 1 – 4 of 4) sorted by relevance

/coreutils/src/
Dcopy.c2222 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()
[all …]
Dmv.c466 x.rename_errno = (renameatu (AT_FDCWD, file[0], AT_FDCWD, lastfile, in main()
469 if (x.rename_errno != 0) in main()
474 x.rename_errno = -1; in main()
Dcopy.h277 int rename_errno; member
Dln.c295 int rename_errno = errno; in do_link() local
298 if (rename_errno != ENOENT) in do_link()
300 error (0, rename_errno, _("cannot backup %s"), in do_link()