summaryrefslogtreecommitdiffstats
path: root/usr.sbin/map-mbone (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-5/+5
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Apply fix from mrouted 3.8 via NetBSD. Our mbone support maykrw2016-08-031-2/+2
| | | | | | be slightly dated. Spotted by the Echelon team with AppChecker static analyzer.
* stdlib.h is in scope; do not cast malloc/calloc/realloc*deraadt2015-08-201-5/+5
| | | | ok millert krw
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-4/+3
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* Prefer setvbuf() to setlinebuf() for portability; ok deraadt@millert2014-11-261-2/+2
|
* obvious cases of missing .An;schwarze2014-09-081-3/+3
| | | | | found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes
* some simple macro fixes;jmc2013-01-171-3/+2
|
* include err.h for warnxjsg2011-09-211-1/+2
|
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* tweaks from Igor Sobrado and myself;jmc2007-02-191-9/+9
|
* tidy up synopsis and usage(); from Igor Sobradojmc2007-02-182-5/+5
|
* implement and use a real usage(); function instead of using goto usage;robert2005-06-221-16/+22
| | | | | | every time it is needed. ok millert@
* use getopt(3) for argument list parsing and remove the get_number()robert2005-06-201-55/+45
| | | | | | function becasue we use strtonum(3) from now on. ok otto@ millert@
* ansi cleanup; khalek@linuxgamers.netderaadt2004-08-011-92/+48
|
* Replace log() with logit() since ISO C reserves log() for the mathmillert2003-11-261-16/+16
| | | | | library and gcc 3.x will complain. Replacement name taken from NetBSD. espie@ OK.
* convert to poll; ok dhartmeideraadt2003-08-191-10/+5
|
* - section reorderjmc2003-06-121-6/+6
| | | | | | - macro fixes - kill whitespace at EOL - new sentence, new line
* strlcpy, ok millert@avsm2003-04-041-1/+1
|
* copyrights added;jmc2003-02-181-1/+32
| | | | | | | | bootpef(8), pppd(8): Carnegie Mellon map-mbone(8), mrinfo(8): Xerox pdisk(8): Apple awk(1): Lucent sectok(3): University of Michigan
* die if fd_set overruns.itojun2002-08-091-0/+2
|
* missing sockaddr inits; ok itojunderaadt2002-06-021-0/+1
|
* Fix possible buffer overflow in map-mbone's dns resolution; Jose Nazariomillert2002-03-271-5/+6
|
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-22/+3
|
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-171-3/+3
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-14/+14
|
* make sure that va_start() has matching va_end()deraadt2001-09-051-0/+1
|
* o) .Sh AUTHOR -> .Sh AUTHORS;mpech2001-08-021-2/+2
| | | | | | | o) .Sh EXAMPLE -> .Sh EXAMPLES; o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION; millert@ ok
* New license from Xerox! This code is now FREE! Took a while and a lot ofderaadt2001-07-311-14/+27
| | | | mails, but it is worth it.
* exit(-#) is wrongderaadt2001-03-091-2/+2
|
* Insert missing .El directives.aaron2000-07-061-1/+2
|
* Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otheraaron2000-03-191-3/+5
| | | | cleanup along the way.
* The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.aaron1999-07-071-2/+2
| | | | | | | Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
* some fix-upsaaron1999-07-041-15/+15
|
* new -mdoc man pages; kwesterback@home.comaaron1999-07-041-85/+91
|
* remove trailing whitespace, some Nm cleanupaaron1999-06-051-10/+10
|
* $OpenBSD$deraadt1997-09-211-2/+1
|
* revoke privs at start; tested by fenner@parc.xerox.comderaadt1996-09-111-6/+7
|
* from netbsd; update to mrouted 3.8deraadt1995-12-141-29/+103
|
* initial import of NetBSD treederaadt1995-10-183-0/+1062