summaryrefslogtreecommitdiffstats
path: root/src/copy.c
AgeCommit message (Expand)AuthorLines
2002-12-15Remove all uses of `PARAMS'.Jim Meyering-7/+7
2002-09-29In move mode, always first try to rename. Before, upon failure toJim Meyering-13/+4
2002-07-20(copy_internal): Use file_name_lookup, not getdport.Jim Meyering-1/+1
2002-06-21Change all `preserving ...' diagnostics toJim Meyering-3/+6
2002-06-21Include hurd.h.Jim Meyering-0/+14
2002-05-30(copy_reg): Use a temporary to avoid a warningJim Meyering-2/+3
2002-03-30(copy_internal): Move the block that sets `earlier_file'Jim Meyering-33/+46
2002-03-19use only one space after semicolonJim Meyering-1/+1
2002-03-17(copy_internal) [move_mode]: Give a better diagnosticJim Meyering-5/+2
2002-03-10(copy_reg): Don't exit upon finding a replaced file.Jim Meyering-1/+1
2002-03-10(copy_reg): Use a more concise diagnostic forJim Meyering-9/+2
2002-03-03(copy_internal): Remove -r warning; no longer needed.Jim Meyering-8/+0
2002-03-02add a commentJim Meyering-0/+2
2002-03-02(copy_internal): For each symlink copied by cp -r,Jim Meyering-0/+6
2002-03-02(copy_reg): Detect abuse of a race conditionJim Meyering-3/+31
2002-02-26tweak commentJim Meyering-1/+1
2002-01-12(copy_reg): Don't treat errno==ENOENT as a special case.Jim Meyering-17/+64
2001-11-22(triple_hash_no_name): New function.Jim Meyering-9/+59
2001-11-22(seen_file): Change type of `stats' parameter to pointer.Jim Meyering-4/+4
2001-11-22(struct F_triple): Rename from dest_info.Jim Meyering-47/+47
2001-11-22copy.c shouldn't maintain static state.Jim Meyering-21/+17
2001-10-21yikes. put the preserve_metadata assignment *after* declarations.Jim Meyering-1/+3
2001-10-21Include xreadlink.h.Jim Meyering-17/+14
2001-10-18(dest_info_free): New function.Jim Meyering-4/+14
2001-10-13(copy_internal): Tighten up and add commentsJim Meyering-9/+30
2001-10-13* src/copy.h (struct cp_options): Rename members:Jim Meyering-4/+4
2001-10-07(copy_dir): Now that remember_copied copies theJim Meyering-4/+1
2001-10-06(record_dest): Fix test for whether to free `ent'.Jim Meyering-1/+1
2001-10-06(record_dest): Avoid a small leak.Jim Meyering-5/+20
2001-10-05Include hash-pjw.h and remove definition of hash_pjw.Jim Meyering-21/+1
2001-09-29(copy_internal): Call record_dest for all types ofJim Meyering-9/+18
2001-09-28Include "hash.h" and "same.h".Jim Meyering-5/+174
2001-09-22Mostly clean-up (modulo the better diagnostic).Jim Meyering-28/+19
2001-09-15(UNWRITABLE): Define (factored out of copy_internal).Jim Meyering-6/+8
2001-09-15(copy_internal) [move_mode]: Support the newJim Meyering-15/+36
2001-09-08(copy_internal): Add braces around now-multi-stmtJim Meyering-5/+7
2001-08-31(copy_dir): Remove st_size argument.Jim Meyering-1/+1
2001-08-31Include full-write.h.Jim Meyering-5/+5
2001-08-13(overwrite_prompt): New function.Jim Meyering-10/+44
2001-08-06(copy_internal): Set *rename_succeeded, so thatJim Meyering-1/+7
2001-07-08revert unrelated part of last delta -- coming soon with a separate log entryJim Meyering-7/+1
2001-07-08(get_dest_mode): Clear set-user-ID and set-group-ID bitsJim Meyering-3/+11
2001-05-12(copy_internal): Remove the code that tested for NULLJim Meyering-2/+0
2001-01-13add comment to go along with last changeJim Meyering-1/+1
2001-01-13(same_file_ok): When moving a symlink onto itself,Jim Meyering-1/+1
2001-01-10(copy_internal): Add a comment.Jim Meyering-6/+24
2001-01-10(copy_internal): Don't allow cp (or mv, when workingJim Meyering-0/+8
2001-01-09add commentJim Meyering-2/+5
2001-01-09(top_level_src_path, top_level_dst_path): New globals.Jim Meyering-3/+21
2000-12-31Avoid an unnecessary `stat' when using --dereference.Jim Meyering-3/+11