summaryrefslogtreecommitdiffstats
path: root/bin/cp/utils.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r284105,r284106,r284163:bdrewery2015-12-041-49/+65
* Return with an error from copy_link(), copy_fifo() and copy_special() ifmarkj2013-01-271-0/+17
* Return "failure" as we do for 'cp -i' and a "n" answer.obrien2013-01-231-1/+1
* Change all our own code to use st_*tim instead of st_*timespec.ed2010-03-281-2/+2
* Implement an "-x" option to cp(1), for compatibility with Linux andgavin2010-01-171-2/+2
* Add NFSv4 ACL support to cp(1) and fix a few memory leaks.trasz2009-09-021-30/+93
* Preserve file flags on symlinks in cp -Rp.jilles2009-05-301-1/+1
* Teach cat(1) and cp(1) to use a larger buffer if enough memory is presentivoras2008-10-301-2/+29
* Add fallback when mmap fails on regular files. Some filesystems,dds2008-10-271-30/+28
* Remove redundant close(2).trasz2008-09-091-1/+0
* Fix ACL preservation, apparently broken in 1.47.trasz2008-08-071-1/+3
* Add an '-a' option which is identical to specifying '-RpP' forjhb2008-03-101-2/+2
* o Style(9).maxim2006-10-071-9/+7
* o Avoid division by zero.maxim2006-10-071-3/+8
* o Hold copied bytes counter in off_t. This prevents statisticsmaxim2006-10-061-1/+1
* - Fix options order.ru2006-08-251-2/+2
* Remove a stray -a option that probably sneaked in from julian'sru2006-08-251-2/+2
* Add an option to allow copying of a hierarchy while linking he regular files.julian2006-08-241-77/+92
* Attempt to complete the userspace integration of POSIX.1e extended ACLs.csjp2005-09-051-0/+80
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-091-2/+3
* Plug file descriptor leak in implementation of -n option.tjr2004-06-051-0/+1
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
* 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
OpenPOWER on IntegriCloud