diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-06-14 23:58:00 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-06-14 23:58:00 +0000 |
commit | f2c653e8dfc14a8adaef31947afa7ae084e6cd79 (patch) | |
tree | 5fa6fb6511079b71144ecd9896997be5d3390b67 /ChangeLog | |
parent | 153854cc31f33964cfe59d880fc93e649cf874bb (diff) | |
download | coreutils-f2c653e8dfc14a8adaef31947afa7ae084e6cd79.tar.xz |
Improve diagnostics for restore_cwd failure.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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. |