diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-12-17 06:56:19 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-12-17 06:56:19 +0000 |
commit | 1833362111d5054958ffcbf7aed8b8c308fdf416 (patch) | |
tree | 7449febe4e5e5f0be9943b06f13bf7e30ea52482 /ChangeLog | |
parent | 25c49ccc1c0a6b0d2bacbf527072fc4c14926371 (diff) | |
download | coreutils-1833362111d5054958ffcbf7aed8b8c308fdf416.tar.xz |
remove/openat cleanup
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -1,7 +1,20 @@ -2005-12-15 Jim Meyering <jim@meyering.net> +2005-12-16 Paul Eggert <eggert@cs.ucla.edu> * Version 6.0-cvs. + * src/remove.c (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. + +2005-12-15 Jim Meyering <jim@meyering.net> + * src/stat.c (print_it): Properly handle a backslash at the end of a --printf format string. Reported by Paul Eggert. * tests/misc/stat-printf (end-bs): Add a test for the above. |