summaryrefslogtreecommitdiff
path: root/bin/cp
Commit message (Expand)AuthorAgeFilesLines
* MFC(1.42): cp -p could report success even if a file copy failed. Worst caseStephen McKay2002-09-241-3/+4
* MFC: add -n option, which automatically answers "no" to the overwrite question.Johan Karlsson2002-08-104-12/+35
* MFC(1.29,1.30): fix and spruce up previous patch.Stephen McKay2002-01-011-22/+26
* MFC(1.28): Preserve directory timestamps with -p. Allow non-empty read-onlyStephen McKay2001-12-151-11/+39
* MFC(1.32): typo in warning message.Stephen McKay2001-12-151-1/+1
* MFC: markup and misc fixes.Ruslan Ermilov2001-08-161-4/+2
* MFC: include stdlib.h to reduce warningsDavid E. O'Brien2001-08-012-0/+2
* MFC: rev 1.29 (MAX_PATH)David E. O'Brien2001-08-011-1/+2
* MFC: rev 1.10 (MAX_PATH)David E. O'Brien2001-08-011-1/+1
* MFC: rev 1.25 (MAX_PATH and strlcpy)David E. O'Brien2001-08-011-3/+3
* MFC: remove whitespace at EOL.Dima Dorfman2001-07-221-9/+9
* MFC (extern.h 1.1, cp.c 1.26, utils.c 1.30):Bruce Evans2001-07-123-27/+4
* MFC: Document that -P is the default.Ruslan Ermilov2001-05-251-0/+1
* MFC (rev 1.18): Document that cp (especially -R) drops hard links.Stephen McKay2001-03-051-0/+10
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-081-2/+2
* MFC: Don't bogusly depend on <sys/stat.h> to include <sys/time.h>Jeroen Ruigrok van der Werven2000-10-271-0/+1
* fix cp -vi bugMichael Haro2000-01-231-2/+3
* brucifyMichael Haro1999-11-282-16/+20
* brucify and move printf() to catch cases of special filesMichael Haro1999-08-293-11/+7
* $Id$ -> $FreeBSD$Peter Wemm1999-08-275-5/+5
* Add a verbose mode to show what files are being copied.Michael Haro1999-08-264-9/+24
* Add -W and fix the warning due to missing struct initializerKris Kennaway1999-07-102-4/+4
* Various spelling/formatting changes.Kris Kennaway1999-05-083-8/+9
* First set of fixes to keep egcs happy. These include {} around singleWarner Losh1999-04-252-4/+6
* Don't use mmap() for non-regular files, since st_size is only meaningfulBruce Evans1998-11-181-2/+2
* Use mmap for file coping. 5-10% faster than the read system call.Wolfram Schneider1998-11-141-1/+2
* Correct a grammatical nit and remove ambiguity about the effect ofJoseph Koshy1998-10-131-4/+6
* Don't attempt to change owner/mode/flags that don't need to changed.Peter Wemm1998-06-101-15/+29
* Print correct error message if we copy an unreadable directory.Dmitrij Tejblum1998-06-091-1/+2
* Make sure we pass the length - 1 to readlink, since it adds its ownWarner Losh1998-06-091-2/+2
* Restore Lite-2 sccsid.Philippe Charnier1998-05-132-4/+4
* Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.Philippe Charnier1998-05-063-24/+21
* Fixed syntax error in normally-unconfigured code in previous commit.Bruce Evans1998-01-171-2/+2
* Fixed handling of short writes. Previously, we stopped copying andBruce Evans1998-01-161-5/+17
* cp(1) is too silent if used with the option -i. It shouldWolfram Schneider1997-10-031-2/+5
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-2/+2
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-225-5/+5
* Sweep through the tree fixing mmap() usage:Alexander Langer1997-01-161-1/+1
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-145-5/+5
* Merge Lite2 mods and -Wall cleaning.Steve Price1996-12-143-9/+16
* [HISTORY] command appeared in Version 1 AT&T UNIXWolfram Schneider1996-08-291-1/+6
* Option -f implemented (remove + create)Wolfram Schneider1996-03-084-17/+37
* Don't initialize udata, remove bogus case, fix usage stringPaul Traina1996-02-192-6/+5
* delete my last commitWolfram Schneider1996-02-194-35/+14
* Option -f implemented (remove + create)Wolfram Schneider1996-02-184-18/+39
* Preserve sticky bit for `cp -pR'. It was already preserved for `cp -R'.Bruce Evans1995-10-031-2/+3
* Don't unlink the target file if the copy failed. This behaviour isn'tBruce Evans1995-06-141-8/+7
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-19/+19
* Add braces to fix wrong if-if-else-if nesting that broke `cp -pR' forBruce Evans1995-04-021-4/+6
* Fix bogus format string; fixes problem reported by Wolfram Schneider.David Greenman1995-01-251-2/+2