summaryrefslogtreecommitdiffstats
path: root/bin/cp/utils.c
Commit message (Expand)AuthorAgeFilesLines
* Don't mmap(2) and munmap(2) zero-length files.alc2003-11-131-1/+2
* support saving both user/group and permissions on symlinks (from PR)jmg2003-06-221-13/+20
* Add a SIGINFO handler.mdodd2003-04-071-0/+22
* Constify and staticify for lint.markm2002-10-181-2/+2
* Fix some easy WARNS.markm2002-07-311-4/+4
* Add the -n option, which automatically answers "no" to the overwrite question.johan2002-07-231-3/+7
* Fix some low-hanging lint-fruit: endianness and staticness warnings.markm2002-07-031-2/+4
* Consistently use __FBSDIDobrien2002-06-301-2/+2
* Fix warnings inspired by lint, a commercial lint and WARNS=4.markm2002-02-221-10/+6
* Modernization effort for bin/c*:imp2002-02-021-16/+6
* Typo in warning message (chown should be chmod).mckay2001-12-111-1/+1
* Add more headers that are required with -fno-builtin (stdlib and strings)des2001-06-191-0/+1
* Removed the broken code which claimed to lose the set[ug]id bits inbde2001-06-111-17/+3
* Migrate from using MAXPATHLEN to MAX_PATH. Use strlcpy to copy theimp2001-05-161-1/+2
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebywollman2000-10-101-0/+1
* fix cp -vi bugmharo2000-01-231-2/+3
* brucify and move printf() to catch cases of special filesmharo1999-08-291-5/+3
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
* Add a verbose mode to show what files are being copied.mharo1999-08-261-3/+6
* Various spelling/formatting changes.kris1999-05-081-2/+2
* First set of fixes to keep egcs happy. These include {} around singleimp1999-04-251-2/+3
* Don't use mmap() for non-regular files, since st_size is only meaningfulbde1998-11-181-2/+2
* Don't attempt to change owner/mode/flags that don't need to changed.peter1998-06-101-15/+29
* Make sure we pass the length - 1 to readlink, since it adds its ownimp1998-06-091-2/+2
* Restore Lite-2 sccsid.charnier1998-05-131-2/+2
* Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.charnier1998-05-061-5/+6
* Fixed syntax error in normally-unconfigured code in previous commit.bde1998-01-171-2/+2
* Fixed handling of short writes. Previously, we stopped copying andbde1998-01-161-5/+17
* cp(1) is too silent if used with the option -i. It shouldwosch1997-10-031-2/+5
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
* Sweep through the tree fixing mmap() usage:alex1997-01-161-1/+1
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
* Merge Lite2 mods and -Wall cleaning.steve1996-12-141-2/+2
* Option -f implemented (remove + create)wosch1996-03-081-5/+14
* Don't initialize udata, remove bogus case, fix usage stringpst1996-02-191-3/+3
* delete my last commitwosch1996-02-191-13/+4
* Option -f implemented (remove + create)wosch1996-02-181-5/+14
* Preserve sticky bit for `cp -pR'. It was already preserved for `cp -R'.bde1995-10-031-2/+3
* Don't unlink the target file if the copy failed. This behaviour isn'tbde1995-06-141-8/+7
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
* Added $Id$dg1994-09-241-0/+2
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+285
OpenPOWER on IntegriCloud