summaryrefslogtreecommitdiff
path: root/tests/mkdir/special-1
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-10-06 20:44:31 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-10-06 20:44:31 +0000
commit4767fc607e5fd38b2a9c8db2d876125aaa10e578 (patch)
treeb4468e643bfee985d4a797ce142567f17dbfe7a5 /tests/mkdir/special-1
parent0fc6edb71490b03c79dd03c903a4b72ce2a23d81 (diff)
downloadcoreutils-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/mkdir/special-1')
0 files changed, 0 insertions, 0 deletions