diff options
author | Jim Meyering <jim@meyering.net> | 2000-09-03 18:50:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-09-03 18:50:14 +0000 |
commit | 8ed20d830e0ecce7f3e272932b921d21c7b64021 (patch) | |
tree | 6c8f0efc063347dc523cef0f48decf381558d48f /old | |
parent | a513c6c10e53daadebd01867167f713b7f6d7421 (diff) | |
download | coreutils-8ed20d830e0ecce7f3e272932b921d21c7b64021.tar.xz |
.
Diffstat (limited to 'old')
-rw-r--r-- | old/fileutils/ChangeLog | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index f6f8e353f..4c0f8e5b9 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,3 +1,38 @@ +2000-09-03 Jim Meyering <meyering@lucent.com> + + * src/cp.c (enum): Add UNLINK_DEST_BEFORE_OPENING. + [long_options]: Add an entry for --remove-destination. + (usage): Describe --remove-destination. + (do_copy): Use unlink_dest_after_failed_open member, not `force.' + (cp_option_init): Initialize new members. + (main): Handle UNLINK_DEST_BEFORE_OPENING (aka --remove-destination). + + * src/mv.c: Remove obsolete comment block. + (cp_option_init): Initialize new members. + (usage): Reflect the fact that --force (-f) relates only to whether + mv prompts. + (main): Remove uses of old `force' option member. + + * src/install.c (cp_option_init): Reflect + + `force' no longer means unlink-dest-before-opening + * src/copy.h (struct cp_options) [force]: Remove member. + [unlink_dest_before_opening]: Add member. `cp -f' and `mv -f' used to + do this. Now, you must use `cp --remove-destination' to get this + behavior. Now, `cp -f' and `mv -f' work as required by POSIX. + [unlink_dest_after_failed_open]: Add member. + + * src/copy.c (same_file_ok): New function, extracted from copy_internal, + and partially rewritten. + (copy_internal): Unlink destination file when unlink_dest_before_opening + option is set, and when the source is neither a regular file nor a + directory. + + * tests/mv/Makefile.am (TESTS): Add part-symlink. + + * src/ls.c: Use strcoll (not strcmp) when comparing file names. + Suggestion from Ulrich Drepper. + 2000-08-27 Jim Meyering <meyering@lucent.com> * src/copy.c (copy_reg): New parameters: X and NEW_DST. |