summaryrefslogtreecommitdiff
path: root/bin/cp
AgeCommit message (Expand)Author
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
1998-07-28Delint.mycroft
1998-07-28Delint.mycroft
1998-02-20Nit: Use MAP_SHARED for read-only mappings where appropriate.mycroft
1998-02-17Use MAP_PRIVATE|MAP_FILE instead of 0 in mmap().augustss
1997-10-19Use futimes(2) if possible. Also correct an error message.mycroft
1997-10-19Preserve owner/group/mode/atime/mtime of symlink if -p flag is given.enami
1997-10-11Use .Nm "" instead of .Nm cp in SYNOPSIS.enami
1997-10-10all but the first .Nm in SYNOPSIS need to be spelt out. [bin/4256]lukem
1997-09-14* getopt returns -1 not EOFlukem
1997-07-20Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.incchristos