summaryrefslogtreecommitdiff
path: root/src/copy.c
AgeCommit message (Expand)Author
2001-11-22(triple_hash_no_name): New function.Jim Meyering
2001-11-22(seen_file): Change type of `stats' parameter to pointer.Jim Meyering
2001-11-22(struct F_triple): Rename from dest_info.Jim Meyering
2001-11-22copy.c shouldn't maintain static state.Jim Meyering
2001-10-21yikes. put the preserve_metadata assignment *after* declarations.Jim Meyering
2001-10-21Include xreadlink.h.Jim Meyering
2001-10-18(dest_info_free): New function.Jim Meyering
2001-10-13(copy_internal): Tighten up and add commentsJim Meyering
2001-10-13* src/copy.h (struct cp_options): Rename members:Jim Meyering
2001-10-07(copy_dir): Now that remember_copied copies theJim Meyering
2001-10-06(record_dest): Fix test for whether to free `ent'.Jim Meyering
2001-10-06(record_dest): Avoid a small leak.Jim Meyering
2001-10-05Include hash-pjw.h and remove definition of hash_pjw.Jim Meyering
2001-09-29(copy_internal): Call record_dest for all types ofJim Meyering
2001-09-28Include "hash.h" and "same.h".Jim Meyering
2001-09-22Mostly clean-up (modulo the better diagnostic).Jim Meyering
2001-09-15(UNWRITABLE): Define (factored out of copy_internal).Jim Meyering
2001-09-15(copy_internal) [move_mode]: Support the newJim Meyering
2001-09-08(copy_internal): Add braces around now-multi-stmtJim Meyering
2001-08-31(copy_dir): Remove st_size argument.Jim Meyering
2001-08-31Include full-write.h.Jim Meyering
2001-08-13(overwrite_prompt): New function.Jim Meyering
2001-08-06(copy_internal): Set *rename_succeeded, so thatJim Meyering
2001-07-08revert unrelated part of last delta -- coming soon with a separate log entryJim Meyering
2001-07-08(get_dest_mode): Clear set-user-ID and set-group-ID bitsJim Meyering
2001-05-12(copy_internal): Remove the code that tested for NULLJim Meyering
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