summaryrefslogtreecommitdiff
path: root/bin/cp/cp.c
Commit message (Expand)AuthorAgeFilesLines
* fts_read: Handle error from a NULL return better.Bryan Drewery2020-12-081-1/+2
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Cleanup some style(9) issues.Bryan Drewery2015-06-081-13/+14
* Implement '-s' to copy as symlink, similar to the current -l link(2) handling.Bryan Drewery2015-06-071-4/+9
* cp: Remove fts sorting.Jilles Tjoelker2015-05-051-28/+1
* Remove useless variable 'Pflag':Eitan Adler2013-01-171-7/+5
* Don't try to copy a socket after "xxx is a socket (not copied)." message.Edward Tomasz Napierala2010-06-051-0/+1
* Implement an "-x" option to cp(1), for compatibility with Linux andGavin Atkinson2010-01-171-2/+5
* Add an '-a' option which is identical to specifying '-RpP' forJohn Baldwin2008-03-101-1/+7
* As suggested, replace earlier changed warnx() / exit() with an errx()Edwin Groothuis2007-12-261-4/+3
* When copying multiple files to a directory, make sure that a properEdwin Groothuis2007-12-251-1/+1
* Fix style(9) bugs in previous commit.Tom Rhodes2006-10-111-7/+4
* Make -r a synonym for -R, similar to behavior on Linux while being backwardsTom Rhodes2006-10-071-11/+9
* Move the -l option processing to where it belongs.Ruslan Ermilov2006-09-291-4/+4
* Add an option to allow copying of a hierarchy while linking he regular files.Julian Elischer2006-08-241-2/+8
* o Call fts_close() before exit.Maxim Konovalov2006-07-041-0/+1
* Attempt to complete the userspace integration of POSIX.1e extended ACLs.Christian S.J. Peron2005-09-051-1/+4
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-101-1/+1
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-061-4/+0
* pass -1 to setfile in cp.cJohn-Mark Gurney2003-06-301-1/+1
* Quiet warnings about copyright[].David E. O'Brien2003-05-011-2/+2
* Include <signal.h> instead of depending on namespace pollution inBruce Evans2003-04-131-1/+2
* Fixed some style bugs in rev.1.44.Bruce Evans2003-04-131-3/+2
* Use the correct data type and qualifier for signal flag.Matthew N. Dodd2003-04-071-1/+1
* Add a SIGINFO handler.Matthew N. Dodd2003-04-071-0/+11
* Constify and staticify for lint.Mark Murray2002-10-181-2/+2
* 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
* Add the -n option, which automatically answers "no" to the overwrite question.Johan Karlsson2002-07-231-5/+9
* 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-031-2/+2
* Consistently use __FBSDIDDavid E. O'Brien2002-06-301-2/+2
* 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
* Fix warnings inspired by lint, a commercial lint and WARNS=4.Mark Murray2002-02-221-4/+10
* Modernization effort for bin/c*:Warner Losh2002-02-021-11/+5
* 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
* Add more headers that are required with -fno-builtin (stdlib and strings)Dag-Erling Smørgrav2001-06-191-0/+1
* Removed the broken code which claimed to lose the set[ug]id bits inBruce Evans2001-06-111-8/+0
* Migrate from using MAXPATHLEN to MAX_PATH. Use strlcpy to copy theWarner Losh2001-05-161-3/+3
* brucifyMichael Haro1999-11-281-16/+16
* brucify and move printf() to catch cases of special filesMichael Haro1999-08-291-2/+2
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
* Add a verbose mode to show what files are being copied.Michael Haro1999-08-261-3/+9
* Add -W and fix the warning due to missing struct initializerKris Kennaway1999-07-101-2/+2