]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(OPENAT_CWD_RESTORE__REQUIRE): Remove.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 17 Dec 2005 06:55:54 +0000 (06:55 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 17 Dec 2005 06:55:54 +0000 (06:55 +0000)
commit25c49ccc1c0a6b0d2bacbf527072fc4c14926371
treec7dfeb8b87919826ca58ef8174df6e8f9b63a130
parent3f86aaadcfc70682baab8b676de5cfd7e2340e2c
(OPENAT_CWD_RESTORE__REQUIRE): Remove.
(OPENAT_CWD_RESTORE__ALLOW_FAILURE): Likewise.
(fd_to_subdirp): Remove openat_cwd_restore_allow_failure arg; its
value is now signified by whether cwd_errno is null.
(fd_to_subdirp, remove_dir, rm_1); Change cwd failure indicator from
pointer-to-bool to pointer-to-errno-value.  All callers changed.
(rm_1): Don't bother setting a local cwd failure flag and then
ORing it into the caller's.  Just set the caller's.
(rm): Use cwd failure errno value to print a slightly-better
diagnostic.
src/remove.c