summaryrefslogtreecommitdiff
path: root/src/copy.c
AgeCommit message (Expand)Author
2001-01-13add comment to go along with last changeJim Meyering
2001-01-13(same_file_ok): When moving a symlink onto itself,Jim Meyering
2001-01-10(copy_internal): Add a comment.Jim Meyering
2001-01-10(copy_internal): Don't allow cp (or mv, when workingJim Meyering
2001-01-09add commentJim Meyering
2001-01-09(top_level_src_path, top_level_dst_path): New globals.Jim Meyering
2000-12-31Avoid an unnecessary `stat' when using --dereference.Jim Meyering
2000-12-28tweak commentJim Meyering
2000-12-28tweak commentJim Meyering
2000-12-28(same_file_ok): Fix *another* typo from my 2000-09-03 change: s/tmp_dst_sb/tm...Jim Meyering
2000-12-28(same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.Jim Meyering
2000-12-28(same_file_ok): Use a single auto var forJim Meyering
2000-12-25(same_file_ok): Remove declaration and set of unusedJim Meyering
2000-09-22(copy_internal): Don't try to unlink directories whenJim Meyering
2000-09-09(copy_internal): Call chmod also if we've made theJim Meyering
2000-09-09(SAME_OWNER, SAME_GROUP, SAME_OWNER_AND_GROUP): Define.Jim Meyering
2000-09-04Remove declaration of lstat, now that it's in copy.h.Jim Meyering
2000-09-04(same_file_ok): Hoist a test.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
2000-09-03(same_file_ok): New function, extracted from copy_internal,Jim Meyering
2000-08-27(copy_reg): New parameters: X and NEW_DST.Jim Meyering
2000-08-27(copy_internal): Set `new_dst' when the move_mode rename fails,Jim Meyering
2000-08-27(copy_reg): Rename two goto labels.Jim Meyering
2000-08-20Declare lstat.Jim Meyering
2000-08-18(DO_CHOWN): Do not make a special case for non-root.Jim Meyering
2000-08-14(copy_reg): Move declaration of local, `n_read', intoJim Meyering
2000-08-13(copy_reg): Add comment.Jim Meyering
2000-08-13(get_dest_mode): Rename from new_nondir_mode.Jim Meyering
2000-08-08(copy_dir, copy_internal): Invoke xalloc_die instead of printing our own mess...Jim Meyering
2000-07-30(copy_internal): Quote the file names that are displayedJim Meyering
2000-07-15Convert "`%s'" in format strings to "%s", and wrap eachJim Meyering
2000-06-27(copy_dir): Don't set errno beforeJim Meyering
2000-06-25(copy_internal): Don't return return immediately after aJim Meyering
2000-06-16(copy_reg): Give a slightly better diagnostic.Jim Meyering
2000-05-29Allow `cp -d -u' to copy one symlink onto another that's identical.Jim Meyering
2000-05-12(copy_internal): Fix force and interactive tests.Jim Meyering
2000-02-05(copy_internal): Don't allow mv to move a directory ontoJim Meyering
2000-01-09This affects cp, install, and mv.Jim Meyering
1999-12-05Revert the previous change.Jim Meyering
1999-12-04(copy_internal): Be consistent with intra-device behaviorJim Meyering
1999-11-11(copy_internal): Treat src and dest as the `same' inJim Meyering
1999-11-05Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS.Jim Meyering
1999-08-08(copy_dir): Remove cast of savedir arg.Jim Meyering
1999-05-23(copy_internal): Don't apply the umask in move_mode.Jim Meyering
1999-05-23Remove today's earlier misguided attempts.Jim Meyering
1999-05-23Include same.h.Jim Meyering
1999-05-23(copy_internal): Make it so `mv -f FILE FILE' does not remove FILE.Jim Meyering
1999-04-30(copy_internal): Move the one-file-system test so thatJim Meyering
1999-04-30(copy_internal): Don't make `mv foo symlink-to-foo' fail.Jim Meyering