summaryrefslogtreecommitdiffstats
path: root/bin/rcp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Improved error handling in rev.1.18: don't ignore failure of execve().bde1999-07-041-5/+4
| | | | Fixed some style bugs in rev.1.18.
* Quick fix to allow transfer files >2GB.dt1999-04-251-3/+3
|
* Don't put compiler warning flags in leaf Makefiles.bde1998-12-071-2/+1
|
* Add JKH's auth.conf-file parser to turn Kerberos on/off in userland.markm1998-10-093-5/+17
|
* Fix LIBDIR (for aout/ELF).markm1998-08-061-1/+1
|
* Fixed printf format errors (time_t is not necessarily long).bde1998-08-021-3/+5
|
* Correct use of .Nm. Add rcsid.charnier1998-05-183-27/+24
|
* Rats. I was too quick. Work needs to be done on the non-Kerberosmarkm1998-03-261-3/+3
| | | | case. Re-enable SUID mode.
* KTH announced a weakness in their implementation of KerberosIV.markm1998-03-263-15/+30
| | | | | | 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.
* Add -P option to cp(1) for local to local copying.wosch1997-12-081-2/+2
| | | | Pointed out by: bde
* Use `cp -R' instead `cp -r' for local to local copingwosch1997-12-071-2/+2
| | | | (e.g.: rcp -r /tmp/1 /tmp/2). See the cp(1) manpage for more details.
* Change to use the new KTH Kerberos.markm1997-09-282-11/+13
| | | | Also make -Wall a bit quieter.
* Bury this properly.bde1997-07-011-13/+0
|
* This commit was generated by cvs2svn to compensate for changes in r27159,bde1997-07-011-0/+13
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import this unwanted file from Lite-original so that it doesn'tbde1997-07-011-0/+13
| | | | | get imported with Lite2 (there was only one missing file in src/bin, other than tags files and obj links).
* Correct usage string. Man page don't reflect reality for now.charnier1997-06-061-7/+8
|
* Ensure string termination after strncpy().joerg1997-05-091-2/+3
| | | | | PR: 2997 Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
OpenPOWER on IntegriCloud