summaryrefslogtreecommitdiffstats
path: root/bin/cp/utils.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-4/+4
* Implement cp -a ("archive" mode)jca2019-01-281-3/+3
* Revert earlier revert.martijn2018-09-071-17/+36
* Backout recent cp(1) changes; they broke texlive's mktexlsr(1)stsp2018-09-071-36/+17
* Rename dne in copy_file to exists to be more consistent with the othermartijn2018-09-071-5/+5
* Also verify a overwrite for the copy of a fifo, link and device node.martijn2018-09-071-1/+7
* 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-071-2/+2
* add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,tedu2017-06-271-3/+3
* Set the times, mode, and flags on symlinks when doing cp -p (or mv acrossguenther2015-12-261-16/+2
* rename link to name to avoid shadowing the functiontedu2015-11-161-6/+6
* 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-161-3/+4
* calloc is better. from Peter Malonetedu2014-04-241-4/+3
* 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
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
* 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-161-4/+4
* when copying regular files, look for blocks of zeroes. when we see them,tedu2007-04-061-4/+26
* sort options + sync usage();jmc2004-12-101-4/+4
* madvise mmapped memory (not used code)mickey2003-11-241-2/+3
* Remove some double semicolons (hmm, do two semis equal a maxi?).millert2003-08-061-3/+3
* spacingderaadt2003-07-291-5/+5
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
* Undo a misguided attempt to fix speling errors from long ago. UCBmillert2003-06-011-3/+3
* ansideraadt2002-07-041-20/+9
* typo; moritz@jodeit.orgderaadt2002-05-301-3/+3
* kill more registers;mpech2001-11-051-3/+3
* o) __progname aria;mpech2001-09-061-5/+7
* explicit braces to avoid ambiguous elseart2001-06-251-3/+4
* Explicit mapping type to mmap. (not used yet)art2001-05-111-3/+3
* "cp -f" should unlink the destination before copying. Similar tomillert1999-05-061-3/+10
* for -p preserve sticky bitderaadt1998-09-261-5/+5
* use MAP_FAILEDderaadt1998-06-071-3/+3
* readlink(path, buf, sizeof buf-1). Never forget that -1.deraadt1998-05-181-3/+3
* spellingtodd1997-11-081-3/+3
* i am bored enough to fix terminal space/tab ugliesderaadt1997-09-011-3/+3
* improve error message (yes I know mmap(2) isn't used yet.)kstailey1997-07-311-3/+3
* bad usage line; oster@cs.usask.caderaadt1997-05-281-4/+4
* Patch from BSDI (via Keith Bostic, via NetBSD):tholo1997-04-051-11/+20
* Better fix for -p and links.millert1997-02-251-14/+19
* Only update owner (via lchown) when dealing with symbolic links.millert1997-02-241-18/+24
* support for lchown(2) if "-p" is usedkstailey1997-01-261-11/+15
* update rcsidderaadt1996-06-231-1/+2
* initial import of NetBSD treederaadt1995-10-181-0/+289