summaryrefslogtreecommitdiff
path: root/usr.bin/rdist
Commit message (Collapse)AuthorAgeFilesLines
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-16/+32
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* $Id$ -> $FreeBSD$Peter Wemm1999-08-289-9/+9
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Clean up some ambiguous nested if/elses.Bill Fumerola1999-07-041-2/+3
| | | | Notes: svn path=/head/; revision=48566
* Fix formatting bug.Joseph Koshy1998-10-151-1/+3
| | | | | | | | PR: 8320 Submitted by: Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp> Notes: svn path=/head/; revision=40371
* Make sure we pass the length - 1 to readlink, since it adds its ownWarner Losh1998-06-091-3/+3
| | | | | | | | | NUL at the end of the path. Inspired by: OpenBSD's changes in this area by theo de raadt Notes: svn path=/head/; revision=36787
* Simplified by using new yacc rules and by not generating y.tab.h.Bruce Evans1998-05-041-3/+3
| | | | Notes: svn path=/head/; revision=35704
* Correctly operate on hardlink when source and destination are not on the samePhilippe Charnier1998-04-203-27/+62
| | | | | | | | device. PR: bin/3158 (part 2) Notes: svn path=/head/; revision=35330
* Prevent rdist from dumping core: do not free() pointer before using it.Philippe Charnier1998-04-068-19/+34
| | | | | | | | Add rcsid. Document -D flag (debug mode). Remove unused includes. PR:bin/3158 (part 1) Notes: svn path=/head/; revision=35055
* Use .Nm rdist for second .Nm occurrence in synopsis.Alexander Langer1998-03-011-1/+1
| | | | Notes: svn path=/head/; revision=33932
* Note in manpage how extraneous output in initialization scriptsSteve Price1997-11-161-2/+17
| | | | | | | | | | | can cause rdist to fail. PR: bin/4954 Reviewed by: wollman Submitted by: jhs Notes: svn path=/head/; revision=31193
* Make sure lfp is non-NULL before closing it.Jordan K. Hubbard1997-10-091-2/+3
| | | | | | | PR: 4652 Notes: svn path=/head/; revision=30249
* fix a few spelling changesJohn-Mark Gurney1997-08-301-1/+1
| | | | | | | | | | | Submitted by: Josh Gilliam Closes PR's: 4429, 4431-4438 PS: He has agreed to submit all contrib fixes back to the original author. Notes: svn path=/head/; revision=28935
* Cosmetic in usage string.Philippe Charnier1997-08-052-11/+18
| | | | Notes: svn path=/head/; revision=27916
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-222-2/+2
| | | | Notes: svn path=/head/; revision=23012
* Removed potential buffer overflow.Eivind Eklund1997-02-094-9/+15
| | | | Notes: svn path=/head/; revision=22490
* Sort cross references.Wolfram Schneider1997-01-151-1/+1
| | | | Notes: svn path=/head/; revision=21748
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Don't dup the network pipe to stderr, it prevents ssh from asking for aPeter Wemm1996-12-101-2/+2
| | | | | | | | | password. Obtained from: ssh FAQ, Thomas.Koenig@ciw.uni-karlsruhe.de Notes: svn path=/head/; revision=20299
* Eliminated includes of the "temporary" backwards compatibility headerBruce Evans1996-09-244-7/+7
| | | | | | | | | <sys/dir.h> in applications. Maintained existing (inadequate) ifdefs for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any new ones. Notes: svn path=/head/; revision=18485
* Close bin/2747: rdist accesses free()d memoryPaul Traina1996-09-111-2/+2
| | | | Notes: svn path=/head/; revision=18238
* Make the dependencies work a little better..Peter Wemm1996-08-301-2/+2
| | | | Notes: svn path=/head/; revision=17941
* Remove the need for rdist(1) to run setuid, thus completely closing anyPeter Wemm1996-08-1011-43/+250
| | | | | | | | | | | | | | | | | | | | | possibility of a security hole. It now does what rdist-6 does, and calls /usr/bin/rsh if not running as root. There are NO protocol changes, this is 100% compatable with the old rdist, except that it does not need setuid root privs. However, there are some minor differences to the base rdist-6 code in that if it is being run by root, it will call rcmd(3) directly rather than piping everything through rsh(1). This is a little more efficient as it doesn't involve context switching on pipe reads/writes. Also, the -P option was added from rdist-6.1.2, which allows an alternative rsh program to be specified, such as ssh. Note that it requires the fixes to the ssh port to disable the unconditional USE_PIPES option that was recently added. The rcmd(3) optimisation is disabled if a non-rsh program is speficied. Notes: svn path=/head/; revision=17489
* Changed all sprintf() calls to snprintf().Nate Williams1996-07-125-39/+52
| | | | | | | | | | | | Obtained from: Christos Zoulas <christos@deshaw.com> via NetBSD PR 2621, [ slightly modified since we don't use libcompat anymore. ] I'm not sure if this fixes the rdist security bug completely, but it sure can't hurt! Notes: svn path=/head/; revision=17107
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-4/+4
| | | | Notes: svn path=/head/; revision=8874
* Use POSIX.2 regular expressions, kill libcompat.Garrett Wollman1995-02-214-12/+31
| | | | Notes: svn path=/head/; revision=6593
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-2711-0/+4525
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590