summaryrefslogtreecommitdiff
path: root/src/copy.c
AgeCommit message (Expand)Author
2007-12-01Add "extern" keyword to declaration of cp_options_default.Jim Meyering
2007-12-01Fix a security race with "cp -p A B" when B already exists.Paul Eggert
2007-11-29Close a file descriptor leak when cp --preserve=context fails.Paul Eggert
2007-11-24"cp -p" tries to preserve GID even if preserving the UID fails.Lasse Collin
2007-11-22Quiet warnings about unused parameters.Jim Meyering
2007-11-22cp: by default, refuse to copy through a dangling destination symlinkJim Meyering
2007-11-15Avoid misbehavior of a cross-device "mv" or "install".Jim Meyering
2007-10-07Avoid a used-uninitialized error.Jim Meyering
2007-10-02Never copy through a symlink that cp has just created.Jim Meyering
2007-09-24copy.c: Remove definitions of factored-out functions.Jim Meyering
2007-08-28Reflect renaming: mreadlink-with-size -> areadlink-with-size.Jim Meyering
2007-08-23Move functions from copy.c into new modules, since ln needs them, too.Jim Meyering
2007-08-22* src/copy.c (DEST_INFO_INITIAL_CAPACITY): Correct a comment.Jim Meyering
2007-07-29Adjust indentation to reflect today's change.Jim Meyering
2007-07-29Attempt to copy a regular file, even if stat says it is empty.Jim Meyering
2007-07-23Update all copyright notices to use the newer form.Jim Meyering
2007-07-19"cp -i --update older newer" no longer prompts; same for mvJim Meyering
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering
2007-06-18A few more symlink-related fixes. Fix a bug triggered by cpPaul Eggert
2007-06-18Use mreadlink_with_size (doesn't exit), not xreadlink_with_size.Jim Meyering
2007-06-15Correct cp's handling of destination symlinks in some cases.Paul Eggert
2007-06-10bug-fix: cp would fail to write through a dangling symlinkJim Meyering
2007-05-19Rename uses of futimens -> gl_futimens; glibc now declares the former.Jim Meyering
2007-04-02* src/copy.c (copy_reg): Initialize local "con", before callingJim Meyering
2007-03-29* tests/cp/cp-a-selinux: New file. Test for the bug reported inJim Meyering
2007-03-29cp, mv, install: add SELinux support, but unlike with the Red HatJim Meyering
2007-03-25Avoid the need for euidaccess and/or lstat on every directory entryPaul Eggert
2007-03-16* src/copy.c: Include filemode.h.Paul Eggert
2007-03-03Fix a bug: cp -x would fail to set mount point permissions.Andrew Church
2007-03-01* bootstrap.conf (gnulib_modules): Replace xreadlink withBruno Haible
2007-02-22Adjust preceding change not to perform an unaligned access.Jim Meyering
2007-02-22Placate valgrind, wrt ./cp --sparse=alwaysJim Meyering
2007-02-21* src/copy.c (cached_umask): Cast -1 to mode_t to avoid a warningPaul Eggert
2007-02-03* NEWS: Document fix for cp --preserve=mode.Paul Eggert
2007-01-03* src/copy.c (copy_internal): Use mkfifo as a fallback if mknod fails.Bruno Haible
2006-12-30* src/copy.c (copy_reg): Rewrite a comment that was renderedJim Meyering
2006-12-07cp -p now clears special bits if it fails to preserve owner or groupPaul Eggert
2006-12-06* NEWS: Document the cp --preserve=ownership fix.Paul Eggert
2006-10-21* src/copy.c (copy_internal): Add a comment saying why we preferJim Meyering
2006-10-19* src/copy.c (copy_reg): Rewrite slightly to avoid duplicte codePaul Eggert
2006-10-18* src/copy.c (copy_internal): Use mknod rather than mkfifo to copyPaul Eggert
2006-10-18* src/copy.c (copy_internal): Remove redundant and confusing localPaul Eggert
2006-10-18* src/copy.c (copy_internal): Don't pass mkdir a mode greater thanPaul Eggert
2006-10-14* NEWS: cp -r --backup dir1 dir2, would rename an existing dir1/dir2Jim Meyering
2006-09-24* NEWS: Mention these fixes.Jim Meyering
2006-09-20* NEWS: Document fix for cp -i and mv -i.Paul Eggert
2006-09-03Don't include dirname.h, since system.h does it now.Paul Eggert
2006-08-28* src/copy.c (copy_internal): Don't test whether macros likePaul Eggert
2006-08-27* src/copy.c (copy_internal): Don't make a backup if the lastJim Meyering
2006-08-27Two of those comments apply only when "moving" (not when copying).Jim Meyering