summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-06-14 23:58:00 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-06-14 23:58:00 +0000
commitf2c653e8dfc14a8adaef31947afa7ae084e6cd79 (patch)
tree5fa6fb6511079b71144ecd9896997be5d3390b67 /ChangeLog
parent153854cc31f33964cfe59d880fc93e649cf874bb (diff)
downloadcoreutils-f2c653e8dfc14a8adaef31947afa7ae084e6cd79.tar.xz
Improve diagnostics for restore_cwd failure.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a4613110b..0d9a067ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,17 @@
* Version 5.3.1.
+ Improve diagnostics for restore_cwd failure.
+ * src/install.c (main): Standardize on a diagnostic for
+ restore_cwd failure, and report errno.
+ (install_file_in_file_parents): Fail if restore_cwd fails and
+ one of the files is relative. This fixes a bug (albeit unlikely).
+ * src/mkdir.c (create_parents): Remove static var (now local to 'main').
+ (main): Standardize on a diagnostic for restore_cwd failure,
+ and report errno.
+ Don't bother to check cwd_errno unless create_parents.
+ Use mkdir rather than make_dir; it's simpler.
+
* src/install.c (main): Adjust to new make_dir_parents convention.
* src/mkdir.c (main): Likewise.