diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-10-06 20:44:31 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-10-06 20:44:31 +0000 |
commit | 4767fc607e5fd38b2a9c8db2d876125aaa10e578 (patch) | |
tree | b4468e643bfee985d4a797ce142567f17dbfe7a5 /tests/install/create-leading | |
parent | 0fc6edb71490b03c79dd03c903a4b72ce2a23d81 (diff) | |
download | coreutils-4767fc607e5fd38b2a9c8db2d876125aaa10e578.tar.xz |
Fix bug reported today by Mike Frysinger: mkdir -pv is logging the
wrong file name in some cases.
* src/install.c (struct install_options): New type.
(install_file_in_file_parents, main):
Use it instead of struct cp_options.
(process_dir): Remember the full name.
(announce_mkdir, make_ancestor): Use the full name in announcements.
* src/mkdir.c (struct mkdir_options): Add full_name member.
(make_ancestor): Use the full name in announcements.
(process_dir): Remember the full name.
* tests/mkdir/Makefile.am (TESTS): Add p-v.
* tests/mkdir/p-v: New file, to test this bug.
Diffstat (limited to 'tests/install/create-leading')
0 files changed, 0 insertions, 0 deletions