summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-09-05.Jim Meyering
2000-09-05Remove the `cp -bdl symlink foo' case.Jim Meyering
since it's no longer portable (hard link to a symlink).
2000-09-05Remove the `cp -dl sl1 sl2' case,Jim Meyering
since it's no longer portable (hard link to a symlink).
2000-09-05*** empty log message ***Jim Meyering
2000-09-05.Jim Meyering
2000-09-04.Jim Meyering
2000-09-04Remove declaration of lstat, now that it's in copy.h.Jim Meyering
2000-09-04Move declaractions of lstat, stat, and rpl_lstatJim Meyering
as well as the definition of lstat from cp.c to this file.
2000-09-04Move declaractions of lstat, stat, and rpl_lstatJim Meyering
as well as the definition of lstat from here to copy.h.
2000-09-04*** empty log message ***Jim Meyering
2000-09-04.Jim Meyering
2000-09-04mv's --force (-f) option is no longer needed forJim Meyering
this test, now that all it does is cancel --interactive (-i).
2000-09-04*** empty log message ***Jim Meyering
2000-09-04Add new tests using cp's --rem option.Jim Meyering
Reflect the fact that cp's -f option no longer causes cp to remove the destination file before trying to open it. Reflect the fact that `cp -bdl' now makes a backup when copying a symlink onto the file it points to (FIXME: look into this, and why cp -bl does *not* do so).
2000-09-04*** empty log message ***Jim Meyering
2000-09-04(do_link): Tweak diagnostics.Jim Meyering
2000-09-04(same_file_ok): Hoist a test.Jim Meyering
2000-09-04*** empty log message ***Jim Meyering
2000-09-04factor out backup/same test, put it after if-else.Jim Meyering
2000-09-04(same_file_ok): factor some more. improve -- now passes all tests.Jim Meyering
checkpoint
2000-09-04*** empty log message ***Jim Meyering
2000-09-04*** empty log message ***Jim Meyering
2000-09-04*** empty log message ***Jim Meyering
2000-09-04*** empty log message ***Jim Meyering
2000-09-04*** empty log message ***Jim Meyering
2000-09-03*** empty log message ***Jim Meyering
2000-09-03(cp_option_init): Initialize new members.Jim Meyering
2000-09-03.Jim Meyering
2000-09-03.Jim Meyering
2000-09-03tweak commentJim Meyering
2000-09-03Remove obsolete comment block.Jim Meyering
(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.
2000-09-03(enum): Add UNLINK_DEST_BEFORE_OPENING.Jim Meyering
[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).
2000-09-03correct description of unlink_dest_after_failed_openJim Meyering
2000-09-03commentJim Meyering
2000-09-03Use strcoll (not strcmp) when comparing file names.Jim Meyering
2000-09-03(struct cp_options) [force]: Remove member.Jim Meyering
[unlink_dest_before_opening]: Add member. [unlink_dest_after_failed_open]: Add member.
2000-09-03(same_file_ok): New function, extracted from copy_internal,Jim Meyering
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.
2000-09-02*** empty log message ***Jim Meyering
2000-09-02*** empty log message ***Jim Meyering
2000-09-02*** empty log message ***Jim Meyering
2000-09-02*** empty log message ***Jim Meyering
2000-09-02*** empty log message ***Jim Meyering
2000-09-02add basic testJim Meyering
2000-08-30*** empty log message ***Jim Meyering
2000-08-30Merge in changes from GNU libc.Jim Meyering
2000-08-28declare __fpending only if necessaryJim Meyering
2000-08-28check for __fpending declarationJim Meyering
2000-08-28include stdio_ext.hJim Meyering
2000-08-27*** empty log message ***Jim Meyering
2000-08-27.Jim Meyering