diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-22 19:49:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-22 19:49:07 +0000 |
commit | 3856e7a1c158a1062d324490a06499dc71a68e92 (patch) | |
tree | e92ff580c85715c7d1719dc099bebd4d5d436234 /old/fileutils/ChangeLog | |
parent | 669102ec611154c0228858b69c33dd57dc0d1b62 (diff) | |
download | coreutils-3856e7a1c158a1062d324490a06499dc71a68e92.tar.xz |
*** empty log message ***
Diffstat (limited to 'old/fileutils/ChangeLog')
-rw-r--r-- | old/fileutils/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index 89bb89953..397c1b8ab 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -2,6 +2,18 @@ * Version 4.1.2. + Don't fail for commands like this: cp a a d/ + + * src/copy.c (triple_hash_no_name): New function. + (src_info_init): New function. + (copy_internal): Warn and return early for the second and subsequent + occurrences of the same source file named on the command line. + * src/copy.h (struct cp_options) [src_info]: New member. + * src/install.c (cp_option_init): Initialize new member. + * src/mv.c (cp_option_init): Likewise. + * src/cp.c (cp_option_init): Likewise. + (do_copy): Call src_info_init. + * tests/mv/dup-source: New test for the above. * tests/mv/Makefile.am (TESTS): Add dup-source. |