summaryrefslogtreecommitdiffstats
path: root/bin/rcp
Commit message (Collapse)AuthorAgeFilesLines
* Fix warnings found by -Wmising-variable-declarations.ed2012-10-191-7/+8
| | | | | | | | | | | 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.
* None of these programs actually use auth.conf.des2012-06-111-6/+0
| | | | MFC after: 1 week
* Remove unused header (libutil.h)marcel2012-05-171-1/+0
|
* Remove duplicated header fileskevlo2011-06-241-1/+0
|
* Change all our own code to use st_*tim instead of st_*timespec.ed2010-03-281-4/+4
| | | | Also remove some local patches to diff(1) which are now unneeded.
* Remove superfluous va_end which was left there in rev 1.38.rdivacky2008-10-281-2/+0
| | | | Approved by: kib (mentor)
* In the error handling path, don't call close(fd) if the error we'recperciva2007-05-221-1/+2
| | | | | | | | 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)
* Fix markup.ru2007-02-271-10/+20
|
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-091-2/+2
|
* De-kerberize the manpage.ru2005-01-211-24/+3
|
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-0/+1
|
* Remove the clause 3, per berkeley and mail from rwatson representingimp2005-01-101-5/+1
| | | | that nai was OK with all third clause removals.
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+1
| | | | | | | | 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
* Deal with double whitespace.ru2004-07-031-4/+4
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Remove clause 3 from the UCB licenses.markm2004-04-063-12/+0
| | | | OK'ed by: imp, core
* Turn malloc+snprintf into asnprintf.markm2003-10-141-14/+10
| | | | Submitted by: David Hill <hill at phobia dot em ess>
* Fix a bazillion warnings. This makes almost the whole of src/bin/*markm2003-05-031-11/+13
| | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha
* Make count a size_t as that is what is compared against and how it is used.obrien2003-05-021-1/+2
|
* Quiet warnings about copyright[].obrien2003-05-011-2/+1
|
* Dekerberise. The corresponding userland stuff has been dekerberisedmarkm2002-10-163-169/+6
| | | | for ages, and no-one seems to have noticed. Viva PAM!
* Clean up use of <stdarg.h> macros: always call va_end after va_start,tjr2002-10-061-2/+6
| | | | | | reset with a call to va_start before each use of the va_list. Obtained from: NetBSD
* While removing a memory leak, rev 1.32 introduced acharnier2002-10-061-16/+11
| | | | | free-memory-and-reuse-it-after. Correct both problems and make rcp -r work again under /etc/malloc.conf -> AJ.
* Use %jd in format string and cast argument to intmax_t instead of usingtjr2002-10-062-4/+3
| | | | | | | %qd to print struct stat.st_size. Remove WARNS=0 and WFORMAT=0 from Makefile. Tested on: alpha, sparc64, i386
* Mark the signo as __unused in a lazy signal handler.jmallett2002-09-291-1/+1
|
* IPv6 support for rcp.ume2002-08-092-22/+42
| | | | | | You cannot specify a raw IPv6 address for now. MFC after: 1 week
* err() is documented as allowing NULL for the format string but GCC isn'tdillon2002-07-101-4/+4
| | | | happy about it any more so change the usage to make buildworld work again.
* Consistently use FBSDIDobrien2002-06-302-4/+4
|
* Use size_t consistently and complete some uncompleted code resulting in ajmallett2002-06-202-3/+6
| | | | | | | 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
* Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.des2002-05-082-45/+10
| | | | Sponsored by: DARPA, NAI Labs
* Replaced exists() tests with two equivalent defined().ru2002-04-181-1/+1
| | | | | LIBDIR is defined in bsd.own.mk but sys.mk no longer includes bsd.own.mk as of revision 1.60.
* Use `The .Nm utility'charnier2002-04-161-6/+9
|
* Correct inadvertent style botches in previous commit.kris2002-02-041-2/+1
|
* Lock down with WFORMAT=1 except those directories with unfixed warnings.kris2002-02-041-1/+3
| | | | Tested on i386 and alpha.
* o __P has been reovedimp2002-02-023-78/+33
| | | | | | | | | 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.
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-0/+1
| | | | | | set WARNS=0. Reviewed by: mike
* style(9)obrien2001-08-011-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Fixed two bugs, first not allowing '.' as a valid login name characterpirzyk2001-05-302-3/+7
| | | | | | | | | | 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
* Use PATH_MAX instead of MAXPATHLEN.imp2001-05-301-3/+4
| | | | Also use sizeof(path) in preference to PATH_MAX.
* -Wnon-const-format sweep: make format strings const char *'s, addkris2001-04-172-2/+3
| | | | | | __printflike()/__printf0like() to function prototypes, as appropriate. Reviewed by: bde, -audit
* mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.ru2001-02-131-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-4/+4
|
* more removal of trailing periods from SEE ALSO.ben2000-11-151-1/+1
|
* Use libcrypto inst=ead if libdes.markm2000-02-242-3/+3
|
* . mdoc(7)'fyphantom2000-01-071-4/+9
| | | | | | | | . 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>
* Fix for new Kerberos4.markm1999-09-192-3/+6
|
* $Id$ -> $FreeBSD$peter1999-08-276-6/+6
|
OpenPOWER on IntegriCloud