summaryrefslogtreecommitdiff
path: root/bin/cp
AgeCommit message (Expand)Author
2009-10-08Fix the "dne" handling and chmod behaviour properly: values of dnepooka
2009-09-29Remove fts sorting. It was originally put there to copy filespooka
2008-07-20Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2008-05-26Distinguish "this file failed" from "any file failed", to make cp -vdholland
2008-05-26PR/38755: murray armfield: /bin posix programs missing setprogname and/orchristos
2007-10-26Sync SYNOPSIS with usage() (correct location of -P).hira
2007-10-26Add -N to usage.hira
2007-10-25Touching up the permissions to preserve set-ID bits is appropriatejld
2006-12-26fix whitespace nits (space -> tab)alc
2006-10-15c99 initializerschristos
2006-08-15initialize dne variable in the beginning, then move the resetting ofjschauma
2006-08-15Avoid errors like "cp: /foo/bar/directory" exists if cp(1) is used totron
2006-07-16return functionality backed out yesterday after fixing the bug I hadjschauma
2006-07-15The last commit introduced a bug. Revert until that's found and fixed.jschauma
2006-07-15As suggested on tech-userlevel:jschauma
2006-03-17Fix Coverity issue 1754. Call fts_close() after we're done copying.erh
2005-11-16- Better detect pathname overflow (from FreeBSD)christos
2005-10-24Remove the "" -> "." target conversion kludge.kleink
2005-10-15- Don't output 'src -> dst' when -v and there was an error.christos
2005-09-10Sort options. Simplify macro usage. Use standard EXIT STATUS section.wiz
2005-08-15Add and document -N: When used with -p, it will not copy the file flags.elad
2005-06-26sprinkle a little const, and now everything compiles with WARNS=3christos
2004-01-04remove unused code left from printescaped() backput as pointed out by Jeffjschauma
2003-09-14Following private discussion with kleink@ and hubertf@ and public discussionjschauma
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-08-04As discusses a little while back on tech-userlevel:jschauma
2003-01-20The Double-Semi-Colon Police.simonb
2002-12-21For each, not Foreach; from Adrian Mrva. Begin new sentence on new line.wiz
2002-12-18Drop trailing whitespace.wiz
2002-12-18Add -v to SYNOPSIS, clean up STANDARDS a little. Also, bump date for -v.kleink
2002-12-16Added a -v verbose option to the cp(1) command. Updated man page and utils as...jrf
2002-10-19use readlink with bufsize - 1; approved thorpej.provos
2002-02-08Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross
2001-12-20Drop unnecessary .Pps.wiz
2001-12-20Whitespace nits.wiz
2001-09-13ANSIfication and some KNF fixes by Petri Koistinen from bin/13681.wiz
2001-08-30enable use of mmap(), falling back to read()/write() if mmap() fails.chs
2001-07-18Use madvise(2) after mmap(2) in case "VM_AND_BUFFER_CACHE_SYNCHRONIZED"tron
2000-09-04For commands and utilities, use EXIT STATUS rather than RETURN VALUES askleink
2000-08-28Add 'RETURN VALUE' section header.hubertf
2000-07-07errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsditojun
2000-07-03include <stdlib.h>, <string.h>, or whatever as appropriate to shut upmatt
1999-09-05Initialize locale on startup.kleink
1999-03-22More and more .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
1999-03-01Correct behaviour in case of dangling symlinks: they would be (contrarymjl
1999-02-25Got rid of redundant error message (X is a directory (not copied). wasdean
1998-10-08Fix bug where "cp -f" didn't work.wsanchez
1998-08-19Add some braces to keep egcs happy.thorpej
1998-07-28Be more retentive about use of NOTREACHED and noreturn.mycroft
1998-07-28Delint.mycroft