History log of /freebsd-10.0-release/bin/rcp/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


241720 19-Oct-2012 ed

Fix warnings found by -Wmising-variable-declarations.

This self-written compiler warning, which is hopefully going to be
committed into LLVM sources soon, warns about potentially missing
`static' keywords, similar to -Wmissing-prototypes.

- bin/pax: Move external declaration of chdname and s_mask into extern.h.
- bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h.
- sbin/mount_fusefs: Remove char *progname; use getprogname().
- others: add `static' where possible.


236892 11-Jun-2012 des

None of these programs actually use auth.conf.

MFC after: 1 week


235565 17-May-2012 marcel

Remove unused header (libutil.h)


223494 24-Jun-2011 kevlo

Remove duplicated header files


205793 28-Mar-2010 ed

Change all our own code to use st_*tim instead of st_*timespec.

Also remove some local patches to diff(1) which are now unneeded.


184418 28-Oct-2008 rdivacky

Remove superfluous va_end which was left there in rev 1.38.

Approved by: kib (mentor)


169848 22-May-2007 cperciva

In the error handling path, don't call close(fd) if the error we're
handling is that fd = open(foo) is -1. This bug is harmless since
close(-1) just returns an error (which the code ignores).

Found by: Coverity Prevent(tm)
CID: 1503 (in userland test run)


167063 27-Feb-2007 ru

Fix markup.


141846 13-Feb-2005 ru

Expand *n't contractions.


141578 09-Feb-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


140563 21-Jan-2005 ru

De-kerberize the manpage.


139969 10-Jan-2005 imp

/*- or .\"- or #- to begin license clauses.


139965 10-Jan-2005 imp

Remove the clause 3, per berkeley and mail from rwatson representing
that nai was OK with all third clause removals.


137164 03-Nov-2004 ru

Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar
to PRECIOUSLIB from bsd.lib.mk. The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.

Reviewed by: oliver


131505 03-Jul-2004 ru

Deal with double whitespace.


131484 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


127958 06-Apr-2004 markm

Remove clause 3 from the UCB licenses.

OK'ed by: imp, core


121095 14-Oct-2003 markm

Turn malloc+snprintf into asnprintf.

Submitted by: David Hill <hill at phobia dot em ess>


114583 03-May-2003 markm

Fix a bazillion warnings. This makes almost the whole of src/bin/*
WARNS=6, std=c99 clean.

Tested on: i386, alpha


114509 02-May-2003 obrien

Make count a size_t as that is what is compared against and how it is used.


114433 01-May-2003 obrien

Quiet warnings about copyright[].


105269 16-Oct-2002 markm

Dekerberise. The corresponding userland stuff has been dekerberised
for ages, and no-one seems to have noticed. Viva PAM!


104563 06-Oct-2002 tjr

Clean up use of <stdarg.h> macros: always call va_end after va_start,
reset with a call to va_start before each use of the va_list.

Obtained from: NetBSD


104559 06-Oct-2002 charnier

While removing a memory leak, rev 1.32 introduced a
free-memory-and-reuse-it-after. Correct both problems and
make rcp -r work again under /etc/malloc.conf -> AJ.


104549 06-Oct-2002 tjr

Use %jd in format string and cast argument to intmax_t instead of using
%qd to print struct stat.st_size. Remove WARNS=0 and WFORMAT=0 from
Makefile.

Tested on: alpha, sparc64, i386


104130 29-Sep-2002 jmallett

Mark the signo as __unused in a lazy signal handler.


101591 09-Aug-2002 ume

IPv6 support for rcp.
You cannot specify a raw IPv6 address for now.

MFC after: 1 week


99744 10-Jul-2002 dillon

err() is documented as allowing NULL for the format string but GCC isn't
happy about it any more so change the usage to make buildworld work again.


99110 30-Jun-2002 obrien

Consistently use FBSDID


98468 20-Jun-2002 jmallett

Use size_t consistently and complete some uncompleted code resulting in a
memory leak by assigning and freeing a variable appropriately as well as
keeping track of the amount of allocated ram properly.

MFC after: 1 month


96196 08-May-2002 des

Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.

Sponsored by: DARPA, NAI Labs


94985 18-Apr-2002 ru

Replaced exists() tests with two equivalent defined().

LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.


94869 16-Apr-2002 charnier

Use `The .Nm utility'


90167 04-Feb-2002 kris

Correct inadvertent style botches in previous commit.


90166 04-Feb-2002 kris

Lock down with WFORMAT=1 except those directories with unfixed warnings.
Tested on i386 and alpha.


90110 02-Feb-2002 imp

o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.


87323 04-Dec-2001 obrien

Default to WARNS=2. Binary builds that cannot handle this must explicitly
set WARNS=0.

Reviewed by: mike


80818 01-Aug-2001 obrien

style(9)


79526 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


79452 09-Jul-2001 brian

Fix the type of the NULL arg to execl()

Idea from: Theo de Raadt <deraadt@openbsd.org>


77491 30-May-2001 pirzyk

Fixed two bugs, first not allowing '.' as a valid login name character
in okname() in util.c and second, returning != 0 when you do have an
error from okname in two places in rcp.c.

Thanks to Garrett for the POSIX defintion of valid login and group names.

PR: bin/25757
MFC after: 3 weeks


77462 30-May-2001 imp

Use PATH_MAX instead of MAXPATHLEN.
Also use sizeof(path) in preference to PATH_MAX.


75577 17-Apr-2001 kris

-Wnon-const-format sweep: make format strings const char *'s, add
__printflike()/__printf0like() to function prototypes, as appropriate.

Reviewed by: bde, -audit


72432 13-Feb-2001 ru

mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.


68935 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68754 15-Nov-2000 ben

more removal of trailing periods from SEE ALSO.


57454 24-Feb-2000 markm

Use libcrypto inst=ead if libdes.


55562 07-Jan-2000 phantom

. mdoc(7)'fy
. add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages
. sort Xrs in SEE ALSO sections

Patches based on PR: docs/15680
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>


51434 19-Sep-1999 markm

Fix for new Kerberos4.


50471 27-Aug-1999 peter

$Id$ -> $FreeBSD$


48560 04-Jul-1999 bde

Improved error handling in rev.1.18: don't ignore failure of execve().

Fixed some style bugs in rev.1.18.


46057 25-Apr-1999 dt

Quick fix to allow transfer files >2GB.


41585 07-Dec-1998 bde

Don't put compiler warning flags in leaf Makefiles.


40101 09-Oct-1998 markm

Add JKH's auth.conf-file parser to turn Kerberos on/off in userland.


38149 06-Aug-1998 markm

Fix LIBDIR (for aout/ELF).


38018 02-Aug-1998 bde

Fixed printf format errors (time_t is not necessarily long).


36149 18-May-1998 charnier

Correct use of .Nm. Add rcsid.


34899 26-Mar-1998 markm

Rats. I was too quick. Work needs to be done on the non-Kerberos
case. Re-enable SUID mode.


34898 26-Mar-1998 markm

KTH announced a weakness in their implementation of KerberosIV.
FreeBSD was not vulnerable, but their fix had some useful features.
Incorporate the best of those - rcp(1) no longer needs to be SUID
to root.


31633 08-Dec-1997 wosch

Add -P option to cp(1) for local to local copying.
Pointed out by: bde


31615 07-Dec-1997 wosch

Use `cp -R' instead `cp -r' for local to local coping
(e.g.: rcp -r /tmp/1 /tmp/2). See the cp(1) manpage for more details.


29914 28-Sep-1997 markm

Change to use the new KTH Kerberos.
Also make -Wall a bit quieter.


27161 01-Jul-1997 bde

Bury this properly.


27160 01-Jul-1997 bde

This commit was generated by cvs2svn to compensate for changes in r27159,
which included commits to RCS files with non-trunk default branches.


26466 06-Jun-1997 charnier

Correct usage string. Man page don't reflect reality for now.


25612 09-May-1997 joerg

Ensure string termination after strncpy().

PR: 2997
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>


24348 28-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


21635 13-Jan-1997 wosch

Sort cross references.


20420 14-Dec-1996 steve

-Wall cleaning.


18409 20-Sep-1996 nate

ts_sec -> tv_sec
ts_nsec -> tv_nsec


14024 11-Feb-1996 markm

#include <kerberosIV/des.h> -> #include <des.h>


13978 08-Feb-1996 pst

Close bin/937 - handle negative timestamps


10663 10-Sep-1995 markm

Updating /usr/include/kerberosIV/des.h so eBones will build breaks
rcp and rlogin.
(patch supplied)

Submitted by: John Capo <jc@irbs.com>


8855 30-May-1995 rgrimes

Remove trailing whitespace.

Reviewed by: phk


7165 19-Mar-1995 joerg

You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory.

I (Joerg) finished most of Philippe's cleanup. /bin/sh will still
need *allot* of work, however.

Submitted by: charnier@lirmm.fr (Philippe Charnier)


4714 20-Nov-1994 wollman

Add DISTRIBUTION=krb for Kerberos case.


3197 29-Sep-1994 csgr

First level of changes for bringing in eBones (kerberos).
- Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile,
and replace with MAKE_KERBEROS and MAKE_EBONES. (Far fewer contortions,
and both default to off.) IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY
DEFINE ONE OF THESE.
- Make Makefiles kerberos-aware.


3044 24-Sep-1994 dg

Added $Id$


1881 06-Aug-1994 wollman

Disable Kerberos for now.


1557 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1556,
which included commits to RCS files with non-trunk default branches.