aboutsummaryrefslogtreecommitdiff
path: root/bin/cp
Commit message (Expand)AuthorAgeFilesLines
* Constify and staticify for lint.Mark Murray2002-10-183-6/+6
* cp -p could report success even if a file copy failed. This was due toStephen McKay2002-09-221-3/+4
* Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the structGarrett Wollman2002-09-211-2/+2
* Bump document date for the -n option.Johan Karlsson2002-08-161-1/+1
* mdoc(7) police: grammar.Ruslan Ermilov2002-08-091-1/+1
* Fix some easy WARNS.Mark Murray2002-07-311-4/+4
* Add the -n option, which automatically answers "no" to the overwrite question.Johan Karlsson2002-07-234-12/+35
* Revert previous delta, which is not required with rev 1.5 ofSheldon Hearn2002-07-151-1/+0
* Set WFORMAT=0, because our compiler currently complains about NULLSheldon Hearn2002-07-111-0/+1
* err() is documented as allowing NULL for the format string but GCC isn'tMatthew Dillon2002-07-101-1/+1
* Fix some low-hanging lint-fruit: endianness and staticness warnings.Mark Murray2002-07-032-4/+6
* Consistently use __FBSDIDDavid E. O'Brien2002-06-302-4/+4
* When -R is not specified, fail to copy the contents of dangling symlinksTim J. Robbins2002-06-131-3/+11
* Optimize prev. commit code a bitAndrey A. Chernov2002-05-171-4/+4
* Trailing slash fixes.Andrey A. Chernov2002-05-171-2/+12
* Add semicolon to empty default case to silence warning.Alfred Perlstein2002-05-111-0/+1
* Fixed some style bugs in revs 1.1 and 1.4.Bruce Evans2002-02-231-4/+4
* Fix warnings inspired by lint, a commercial lint and WARNS=4.Mark Murray2002-02-224-21/+20
* Modernization effort for bin/c*:Warner Losh2002-02-023-33/+17
* Bruce thought some of the comments I added were not clear enough. This isStephen McKay2002-01-011-8/+8
* The previous fix caused cp to emit spurious warnings under someStephen McKay2001-12-231-22/+26
* Preserve directory timestamps with -p. Allow non-empty read-onlyStephen McKay2001-12-111-11/+39
* Typo in warning message (chown should be chmod).Stephen McKay2001-12-111-1/+1
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-1/+2
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
* Remove whitespace at EOL.Dima Dorfman2001-07-151-9/+9
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
* Add more headers that are required with -fno-builtin (stdlib and strings)Dag-Erling Smørgrav2001-06-192-0/+2
* Removed the broken code which claimed to lose the set[ug]id bits inBruce Evans2001-06-113-27/+4
* Make it clear that -P is the default.Ruslan Ermilov2001-05-251-0/+1
* Migrate from using MAXPATHLEN to MAX_PATH. Use strlcpy to copy theWarner Losh2001-05-163-5/+6
* In the hope of saving others from hours of tedious recovery work,Stephen McKay2001-02-041-0/+10
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebyGarrett Wollman2000-10-101-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