summaryrefslogtreecommitdiffstats
path: root/src/copy.c
AgeCommit message (Expand)AuthorLines
2006-12-07cp -p now clears special bits if it fails to preserve owner or groupPaul Eggert-13/+27
2006-12-06* NEWS: Document the cp --preserve=ownership fix.Paul Eggert-14/+98
2006-10-21* src/copy.c (copy_internal): Add a comment saying why we preferJim Meyering-0/+3
2006-10-19* src/copy.c (copy_reg): Rewrite slightly to avoid duplicte codePaul Eggert-12/+8
2006-10-18* src/copy.c (copy_internal): Use mknod rather than mkfifo to copyPaul Eggert-2/+2
2006-10-18* src/copy.c (copy_internal): Remove redundant and confusing localPaul Eggert-16/+13
2006-10-18* src/copy.c (copy_internal): Don't pass mkdir a mode greater thanPaul Eggert-4/+10
2006-10-14* NEWS: cp -r --backup dir1 dir2, would rename an existing dir1/dir2Jim Meyering-1/+7
2006-09-24* NEWS: Mention these fixes.Jim Meyering-0/+8
2006-09-20* NEWS: Document fix for cp -i and mv -i.Paul Eggert-46/+36
2006-09-03Don't include dirname.h, since system.h does it now.Paul Eggert-1/+0
2006-08-28* src/copy.c (copy_internal): Don't test whether macros likePaul Eggert-16/+6
2006-08-27* src/copy.c (copy_internal): Don't make a backup if the lastJim Meyering-1/+4
2006-08-27Two of those comments apply only when "moving" (not when copying).Jim Meyering-2/+2
2006-08-27* src/copy.c (copy_internal): Add comments.Jim Meyering-1/+6
2006-08-26Fix "mv --verbose --backup" so its output includes theJim Meyering-12/+18
2006-08-19* NEWS: Fix cp --sparse so that it preserves tail-end sparseness, evenJim Meyering-12/+12
2006-08-17* src/copy.c (copy_internal, same_file_ok): Adjust comments notJim Meyering-3/+3
2006-07-29(set_author): Preserve the st_author field via thePaul Eggert-2/+3
2006-07-26* src/copy.c (set_author) [HAVE_STRUCT_STAT_ST_AUTHOR]:Jim Meyering-1/+1
2006-07-05* src/copy.c (copy_internal): Don't work around old NFS clients likeJim Meyering-12/+1
2006-06-03Make `cp --link --no-dereference' work also on systems where theJim Meyering-1/+16
2006-05-11mv -T DIR EMPTY_DIR no longer failsJim Meyering-8/+0
2006-05-11(copy_internal): Don't explicitly unlink the destinationJim Meyering-2/+4
2006-03-12(set_author): Rename function, from preserve_author.Jim Meyering-14/+29
2006-02-04(copy_internal): cp -RL no longer fails when encounteringJim Meyering-25/+34
2006-01-02(set_owner): Correct a comment.Jim Meyering-1/+4
2006-01-02Include lchmod.h.Paul Eggert-3/+4
2005-12-17(get_dest_mode): Remove; it is obsolete after removing umask_kill.Jim Meyering-73/+63
2005-12-04(fchown) [!HAVE_FCHOWN]: Define fchown(...) to -1.Jim Meyering-60/+86
2005-11-24Improve performance a bit by optimizing awayPaul Eggert-103/+135
2005-09-25(HAVE_FCHMOD, HAVE_FCHOWN): Define to 0 if not defined.Paul Eggert-12/+71
2005-09-23(copy_reg): Preserve time stamps ifPaul Eggert-2/+15
2005-09-16Include stat-time.h, and use its functions instead of the obsoletePaul Eggert-4/+3
2005-07-11(copy_reg): Always copy in binary mode.Paul Eggert-5/+4
2005-07-03Include fcntl--.h, not unistd-safer.h.Paul Eggert-3/+1
2005-06-02Don't use "path" or "filename".Paul Eggert-183/+183
2005-05-31(chown_privileges, chown_failure_ok): Mark as `extern'.Jim Meyering-2/+2
2005-05-31Port to Solaris 10's rules for whether programs can chown files.Paul Eggert-13/+45
2005-05-14Update FSF postal mail address.Jim Meyering-1/+1
2005-05-14Update FSF postal mail address.Jim Meyering-1/+1
2005-05-10(abandon_move): Remove erroneous UNWRITABLE check.Jim Meyering-4/+3
2005-04-11Include unistd-safer.h.Paul Eggert-0/+3
2005-03-28(copy_reg): Use NULL, not `0'.Jim Meyering-3/+3
2005-03-15(copy_reg): Copy regular files in binary mode.Jim Meyering-0/+1
2005-03-11Prompt once again for `mv -i A B' when A and B are hard linksJim Meyering-9/+25
2005-03-01(copy_internal): Change test of source type from !S_ISREG to S_ISLNK.Jim Meyering-1/+1
2005-02-09 * src/copy.c (valid_options): Add an assertion thatJim Meyering-1/+2
2004-09-22(copy): Declare as `extern'.Jim Meyering-1/+1
2004-09-13Adjust to backup enum rename.Paul Eggert-4/+4