aboutsummaryrefslogtreecommitdiff
path: root/bin/cp/utils.c
Commit message (Expand)AuthorAgeFilesLines
* o Style(9).Maxim Konovalov2006-10-071-9/+7
* o Avoid division by zero.Maxim Konovalov2006-10-071-3/+8
* o Hold copied bytes counter in off_t. This prevents statisticsMaxim Konovalov2006-10-061-1/+1
* - Fix options order.Ruslan Ermilov2006-08-251-2/+2
* Remove a stray -a option that probably sneaked in from julian'sRuslan Ermilov2006-08-251-2/+2
* Add an option to allow copying of a hierarchy while linking he regular files.Julian Elischer2006-08-241-77/+92
* Attempt to complete the userspace integration of POSIX.1e extended ACLs.Christian S.J. Peron2005-09-051-0/+80
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-091-2/+3
* Plug file descriptor leak in implementation of -n option.Tim J. Robbins2004-06-051-0/+1
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-061-4/+0
* Don't mmap(2) and munmap(2) zero-length files.Alan Cox2003-11-131-1/+2
* support saving both user/group and permissions on symlinks (from PR)John-Mark Gurney2003-06-221-13/+20
* Add a SIGINFO handler.Matthew N. Dodd2003-04-071-0/+22
* Constify and staticify for lint.Mark Murray2002-10-181-2/+2
* Fix some easy WARNS.Mark Murray2002-07-311-4/+4
* Add the -n option, which automatically answers "no" to the overwrite question.Johan Karlsson2002-07-231-3/+7
* Fix some low-hanging lint-fruit: endianness and staticness warnings.Mark Murray2002-07-031-2/+4
* Consistently use __FBSDIDDavid E. O'Brien2002-06-301-2/+2
* Fix warnings inspired by lint, a commercial lint and WARNS=4.Mark Murray2002-02-221-10/+6
* Modernization effort for bin/c*:Warner Losh2002-02-021-16/+6
* Typo in warning message (chown should be chmod).Stephen McKay2001-12-111-1/+1
* Add more headers that are required with -fno-builtin (stdlib and strings)Dag-Erling Smørgrav2001-06-191-0/+1
* Removed the broken code which claimed to lose the set[ug]id bits inBruce Evans2001-06-111-17/+3
* Migrate from using MAXPATHLEN to MAX_PATH. Use strlcpy to copy theWarner Losh2001-05-161-1/+2
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebyGarrett Wollman2000-10-101-0/+1
* fix cp -vi bugMichael Haro2000-01-231-2/+3
* brucify and move printf() to catch cases of special filesMichael Haro1999-08-291-5/+3
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
* Add a verbose mode to show what files are being copied.Michael Haro1999-08-261-3/+6
* Various spelling/formatting changes.Kris Kennaway1999-05-081-2/+2
* First set of fixes to keep egcs happy. These include {} around singleWarner Losh1999-04-251-2/+3
* Don't use mmap() for non-regular files, since st_size is only meaningfulBruce Evans1998-11-181-2/+2
* Don't attempt to change owner/mode/flags that don't need to changed.Peter Wemm1998-06-101-15/+29
* Make sure we pass the length - 1 to readlink, since it adds its ownWarner Losh1998-06-091-2/+2
* Restore Lite-2 sccsid.Philippe Charnier1998-05-131-2/+2
* Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.Philippe Charnier1998-05-061-5/+6
* Fixed syntax error in normally-unconfigured code in previous commit.Bruce Evans1998-01-171-2/+2
* Fixed handling of short writes. Previously, we stopped copying andBruce Evans1998-01-161-5/+17
* cp(1) is too silent if used with the option -i. It shouldWolfram Schneider1997-10-031-2/+5
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
* Sweep through the tree fixing mmap() usage:Alexander Langer1997-01-161-1/+1
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
* Merge Lite2 mods and -Wall cleaning.Steve Price1996-12-141-2/+2
* Option -f implemented (remove + create)Wolfram Schneider1996-03-081-5/+14
* Don't initialize udata, remove bogus case, fix usage stringPaul Traina1996-02-191-3/+3
* delete my last commitWolfram Schneider1996-02-191-13/+4
* Option -f implemented (remove + create)Wolfram Schneider1996-02-181-5/+14
* Preserve sticky bit for `cp -pR'. It was already preserved for `cp -R'.Bruce Evans1995-10-031-2/+3
* Don't unlink the target file if the copy failed. This behaviour isn'tBruce Evans1995-06-141-8/+7
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2