summaryrefslogtreecommitdiff
path: root/bin/cp/utils.c
AgeCommit message (Expand)Author
2007-10-26Add -N to usage.hira
2007-10-25Touching up the permissions to preserve set-ID bits is appropriatejld
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
2005-10-15- Don't output 'src -> dst' when -v and there was an error.christos
2005-08-15Add and document -N: When used with -p, it will not copy the file flags.elad
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-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
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
1999-03-01Correct behaviour in case of dangling symlinks: they would be (contrarymjl
1998-10-08Fix bug where "cp -f" didn't work.wsanchez
1998-08-19Add some braces to keep egcs happy.thorpej
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-07-20- Use __COPYRIGHT() and __RCSID()thorpej
1997-05-15add missing close-brackets; from Greg Oster in PR bin/3613.mikel
1997-02-26Patch from BSDI (via Keith Bostic):cgd
1997-01-09kill use of registertls
1995-08-02Don't remove the destination file if there is a write error. This isjtc
1995-03-21convert to new RCS id conventions.cgd
1994-09-22Merge 4.4-Lite version.mycroft
1994-09-22Import original 4.4-Lite version.mycroft