summaryrefslogtreecommitdiff
path: root/bin/cp/utils.c
AgeCommit message (Collapse)Author
2002-07-04ansiTheo de Raadt
2002-05-30typo; moritz@jodeit.orgTheo de Raadt
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-09-06o) __progname aria;Mike Pechkin
millert@ ok.
2001-06-25explicit braces to avoid ambiguous elseArtur Grabowski
2001-05-11Explicit mapping type to mmap. (not used yet)Artur Grabowski
1999-05-06"cp -f" should unlink the destination before copying. Similar toTodd C. Miller
a patch from FreeBSD (but this is simpler). Closes PR #821
1998-09-26for -p preserve sticky bitTheo de Raadt
1998-06-07use MAP_FAILEDTheo de Raadt
1998-05-18readlink(path, buf, sizeof buf-1). Never forget that -1.Theo de Raadt
1997-11-08spellingTodd T. Fries
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-07-31improve error message (yes I know mmap(2) isn't used yet.)kstailey
1997-05-28bad usage line; oster@cs.usask.caTheo de Raadt
1997-04-05Patch from BSDI (via Keith Bostic, via NetBSD):Thorsten Lockert
>NFS doesn't support chflags; ignore errors unless there's reason >to believe we're losing bits. (Note, this still won't be right >if the server supports flags and we were trying to *remove* flags >on a file that we copied, i.e., that we didn't create.)
1997-02-25Better fix for -p and links.Todd C. Miller
1997-02-24Only update owner (via lchown) when dealing with symbolic links.Todd C. Miller
Fixes core dump problem with ``-p'' and symbolic links. Noted by Carsten Hammer <chammer@post.uni-bielefeld.de>.
1997-01-26support for lchown(2) if "-p" is usedkstailey
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt