summaryrefslogtreecommitdiff
path: root/src/copy.c
AgeCommit message (Expand)Author
2008-11-20cp: use far less memory in some casesJim Meyering
2008-10-19accommodate gnulib header removalsJim Meyering
2008-10-17maint: avoid warnings due to attribute warn_unused_resultJim Meyering
2008-06-03use gnulib's progname moduleJim Meyering
2008-06-02fix cpp indentation policy violationsJim Meyering
2008-04-02"touch E; mkfifo F; cp -fR F E" no longer fails due to existing EJim Meyering
2008-04-02copy.c: remove an in-function #ifdefJim Meyering
2008-03-19mv: never unlink a destination file before calling renameJim Meyering
2008-02-28Make copyright comments consistent.Jim Meyering
2007-12-04Reflect change in gnulib: don't include getpagesize.h,Jim Meyering
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