summaryrefslogtreecommitdiffstats
path: root/bin/cp (follow)
Commit message (Expand)AuthorAgeFilesLines
* More correction of section 3 layout. directory->opendir, fts->fts_open,deraadt2019-09-021-3/+3
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-282-6/+6
* Implement cp -a ("archive" mode)jca2019-01-283-12/+22
* Revert earlier revert.martijn2018-09-072-30/+53
* Backout recent cp(1) changes; they broke texlive's mktexlsr(1)stsp2018-09-072-53/+30
* Rename dne in copy_file to exists to be more consistent with the othermartijn2018-09-072-9/+9
* Also verify a overwrite for the copy of a fifo, link and device node.martijn2018-09-072-7/+14
* Move the question to allow a copy to its own function.martijn2018-09-071-13/+26
* The combination of -v and -i and the deny of a copy would cause the copymartijn2018-09-072-10/+13
* add -v to SYNOPSIS and STANDARDS;jmc2017-06-281-3/+7
* fix a few lines of unusual lengthtedu2017-06-271-3/+4
* add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,tedu2017-06-273-10/+30
* delete useless setlocale(3);schwarze2016-10-141-6/+3
* Make cp -i behave as mv -i or rm -i, independently of whether stdintb2016-03-071-2/+2
* Set the times, mode, and flags on symlinks when doing cp -p (or mv acrossguenther2015-12-262-18/+3
* rename link to name to avoid shadowing the functiontedu2015-11-161-6/+6
* Change all tame callers to namechange to pledge(2).deraadt2015-10-091-3/+3
* Try again. Both -R and -p prevent use of tame, but other cases can use it.deraadt2015-10-081-1/+9
* ah, fchflags. We will come back to this issue laterderaadt2015-10-081-6/+1
* We cannot tame if -R is specified, because mknod and mkfifo may be called.deraadt2015-10-071-1/+6
* Whoops; missed updating a setfile() call.guenther2015-05-071-2/+2
* Preserve times to nanosecond precision instead of just microsecond.guenther2015-05-031-12/+15
* cleanup sys/param.h commentderaadt2015-01-191-2/+2
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-163-8/+10
* Use errc/warnc to simplify code.guenther2014-05-211-6/+4
* calloc is better. from Peter Malonetedu2014-04-241-4/+3
* there is no need for rcp anymoretedu2014-03-191-3/+2
* same tweak as per ch* utils: for -H, remove brackets in description;jmc2014-01-291-3/+3
* command-line (adj.) -> command line (n.);jmc2013-01-181-3/+3
* remove some unnecessary sys/cdefs.h inclusionsderaadt2012-12-041-3/+1
* Don't order file and dir creation, no measurable effect, ffsotto2012-08-281-29/+2
* When copying a file sparsely, truncate the resulting file based on thematthew2012-07-111-2/+2
* if we ever activate that, this may need fixingespie2012-04-111-1/+2
* set set*id bits only if the target did not exist and -p was not used;otto2011-06-231-2/+3
* consistently specify that -f and -i override previous options in eachtedu2011-06-151-9/+11
* the last of -f or -i is the lucky winner. problem noticed by jan stary.tedu2011-06-151-4/+10
* add an EXIT STATUS section for /bin;jmc2010-09-031-3/+3
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
* bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc2009-02-081-3/+3
* replace hardcoded exit values with .Ex macros;sobrado2009-01-041-5/+3
* some small nonfunctional tweaks. ok beck millerttedu2007-11-041-19/+5
* warn should return an error message for chmod, not for chownsobrado2007-09-221-3/+3
* "source" and "target" can be either files or directories;sobrado2007-09-162-18/+20
* STDIN_FILENO is better than fileno(stdin); zinovik@cs.karelia.ruderaadt2007-07-261-3/+3
* convert to new .Dd format;jmc2007-05-311-2/+2
* - consistent STANDARDS blurbjmc2007-05-291-7/+7
* when copying regular files, look for blocks of zeroes. when we see them,tedu2007-04-062-5/+31
* various small lint cleanups; ok ottoderaadt2006-04-252-5/+6
* Call fts_close(); from NetBSD's Coverity analysis; ok jaredy@ millert@otto2006-03-171-2/+3
* Handle dir not readable case. Problem noted by chefren. ok hshoexer@ jaredy@otto2005-11-091-2/+3