summaryrefslogtreecommitdiff
path: root/ChangeLog
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 /ChangeLog
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 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 517e37aef..84c9d866e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ 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.
+
2006-10-05 Paul Eggert <eggert@cs.ucla.edu>
* src/chgrp.c: Don't include lchown.h; no longer needed.