aboutsummaryrefslogtreecommitdiff
path: root/bin/rcp
Commit message (Collapse)AuthorAgeFilesLines
* Remove rcmds.Jeremie Le Hen2017-10-068-1259/+0
| | | | | | | | | | | | | | | | | | | | | If they are still needed, you can find them in the net/bsdrcmds port. This was proposed June, 20th and approved by various committers [1]. They have been marked as deprecated on CURRENT in r320644 [2] on July, 4th. Both stable/11 and release/11.1 contain the deprecation notice (thanks to allanjude@). Note that ruptime(1)/rwho(1)/rwhod(8) were initially thought to be part of rcmds but this was a mistake and those are therefore NOT removed. [1] https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018239.html [2] https://svnweb.freebsd.org/base?view=revision&revision=320644 Reviewed by: bapt, brooks Differential Revision: https://reviews.freebsd.org/D12573 Notes: svn path=/head/; revision=324351
* Fix Makefile entries from r323275Alan Somers2017-09-291-0/+2
| | | | | | | | | | Reported by: Vladimir Zakharov <zakharov.vv@gmail.com> Reviewed by: ngie MFC after: 3 weeks X-MFC-With: 323275 Notes: svn path=/head/; revision=324112
* Add basic tests for chflags, mkdir, rcp, and rmdirAlan Somers2017-09-073-0/+68
| | | | | | | | | | | | | | | | Add basic command line parsing test coverage for these utilities. The tests were automatically generated based on their man pages. These tests can be expanded by hand for more thorough coverage. The aim is to generate very basic amount of test coverage for all the utilities in the base system. Submitted by: shivansh Reviewed by: asomers, brooks MFC after: 3 weeks Sponsored by: Google, Inc (GSoC 2017) Differential Revision: https://reviews.freebsd.org/D12036 Notes: svn path=/head/; revision=323275
* Add deprecation notices for all rcmd toolsAllan Jude2017-07-041-1/+10
| | | | | | | | | | | Submitted by: bcr Reviewed by: emaste, bapt, jhl MFC after: immediate Relnotes: yes Differential Revision: https://reviews.freebsd.org/D11471 Notes: svn path=/head/; revision=320644
* Renumber copyright clause 4Warner Losh2017-02-284-4/+4
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* MFHGlen Barber2016-04-121-1/+1
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297861
| * rcp(1): replace 0 with NULL for pointers.Pedro F. Giffuni2016-04-111-1/+1
| | | | | | | | | | | | | | Found with devel/coccinelle. Notes: svn path=/head/; revision=297826
* | Add rcp(1) to the rcmds package.Glen Barber2016-02-091-0/+1
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295438
* | Create a rcmds package.Glen Barber2016-01-211-0/+2
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=294517
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-1/+0
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync from headSimon J. Gerraty2012-11-042-13/+8
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | r* commands are not precious anymoreBaptiste Daroussin2015-03-041-1/+0
| |/ |/| | | | | Notes: svn path=/head/; revision=279603
* | Fix warnings found by -Wmising-variable-declarations.Ed Schouten2012-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. Notes: svn path=/head/; revision=241720
* | None of these programs actually use auth.conf.Dag-Erling Smørgrav2012-06-111-6/+0
|/ | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=236892
* Remove unused header (libutil.h)Marcel Moolenaar2012-05-171-1/+0
| | | | Notes: svn path=/head/; revision=235565
* Remove duplicated header filesKevin Lo2011-06-241-1/+0
| | | | Notes: svn path=/head/; revision=223494
* Change all our own code to use st_*tim instead of st_*timespec.Ed Schouten2010-03-281-4/+4
| | | | | | | Also remove some local patches to diff(1) which are now unneeded. Notes: svn path=/head/; revision=205793
* Remove superfluous va_end which was left there in rev 1.38.Roman Divacky2008-10-281-2/+0
| | | | | | | Approved by: kib (mentor) Notes: svn path=/head/; revision=184418
* In the error handling path, don't call close(fd) if the error we'reColin Percival2007-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) Notes: svn path=/head/; revision=169848
* Fix markup.Ruslan Ermilov2007-02-271-10/+20
| | | | Notes: svn path=/head/; revision=167063
* Expand *n't contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141846
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-091-2/+2
| | | | Notes: svn path=/head/; revision=141578
* De-kerberize the manpage.Ruslan Ermilov2005-01-211-24/+3
| | | | Notes: svn path=/head/; revision=140563
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-101-0/+1
| | | | Notes: svn path=/head/; revision=139969
* Remove the clause 3, per berkeley and mail from rwatson representingWarner Losh2005-01-101-5/+1
| | | | | | | that nai was OK with all third clause removals. Notes: svn path=/head/; revision=139965
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarRuslan Ermilov2004-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 Notes: svn path=/head/; revision=137164
* Deal with double whitespace.Ruslan Ermilov2004-07-031-4/+4
| | | | Notes: svn path=/head/; revision=131505
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131484
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-063-12/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Turn malloc+snprintf into asnprintf.Mark Murray2003-10-141-14/+10
| | | | | | | Submitted by: David Hill <hill at phobia dot em ess> Notes: svn path=/head/; revision=121095
* Fix a bazillion warnings. This makes almost the whole of src/bin/*Mark Murray2003-05-031-11/+13
| | | | | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha Notes: svn path=/head/; revision=114583
* Make count a size_t as that is what is compared against and how it is used.David E. O'Brien2003-05-021-1/+2
| | | | Notes: svn path=/head/; revision=114509
* Quiet warnings about copyright[].David E. O'Brien2003-05-011-2/+1
| | | | Notes: svn path=/head/; revision=114433
* Dekerberise. The corresponding userland stuff has been dekerberisedMark Murray2002-10-163-169/+6
| | | | | | | for ages, and no-one seems to have noticed. Viva PAM! Notes: svn path=/head/; revision=105269
* Clean up use of <stdarg.h> macros: always call va_end after va_start,Tim J. Robbins2002-10-061-2/+6
| | | | | | | | | reset with a call to va_start before each use of the va_list. Obtained from: NetBSD Notes: svn path=/head/; revision=104563
* While removing a memory leak, rev 1.32 introduced aPhilippe Charnier2002-10-061-16/+11
| | | | | | | | free-memory-and-reuse-it-after. Correct both problems and make rcp -r work again under /etc/malloc.conf -> AJ. Notes: svn path=/head/; revision=104559
* Use %jd in format string and cast argument to intmax_t instead of usingTim J. Robbins2002-10-062-4/+3
| | | | | | | | | | %qd to print struct stat.st_size. Remove WARNS=0 and WFORMAT=0 from Makefile. Tested on: alpha, sparc64, i386 Notes: svn path=/head/; revision=104549
* Mark the signo as __unused in a lazy signal handler.Juli Mallett2002-09-291-1/+1
| | | | Notes: svn path=/head/; revision=104130
* IPv6 support for rcp.Hajimu UMEMOTO2002-08-092-22/+42
| | | | | | | | | You cannot specify a raw IPv6 address for now. MFC after: 1 week Notes: svn path=/head/; revision=101591
* err() is documented as allowing NULL for the format string but GCC isn'tMatthew Dillon2002-07-101-4/+4
| | | | | | | happy about it any more so change the usage to make buildworld work again. Notes: svn path=/head/; revision=99744
* Consistently use FBSDIDDavid E. O'Brien2002-06-302-4/+4
| | | | Notes: svn path=/head/; revision=99110
* Use size_t consistently and complete some uncompleted code resulting in aJuli Mallett2002-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 Notes: svn path=/head/; revision=98468
* Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.Dag-Erling Smørgrav2002-05-082-45/+10
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=96196