summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mrinfo (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-4/+4
| | | | | | 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.
* since stdlib.h is in scope, don't cast.... you know the drill.deraadt2015-08-211-1/+1
| | | | no sneakiness detected by krw
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+1
| | | | | | | | | 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-1/+1
|
* use timerclear macrookan2011-03-221-1/+1
| | | | ok miod@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-8/+0
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-2/+2
|
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* new sentence, new line...and generally just start new lines in sane places;jmc2005-09-061-17/+21
| | | | while here, a little macro cleanup.
* some grammar fixes from simon morgan;jmc2005-09-061-4/+4
| | | | fixes pr #4491
* use getopt(3) for argument list parsing and remove the get_number()robert2005-06-201-36/+26
| | | | | | function becasue we use strtonum(3) from now on. ok otto@ millert@
* setresuid; ok deraadt@djm2005-05-031-3/+6
|
* fix datalen, from Esben Norby. ok deraadt itojuntedu2004-02-261-2/+2
|
* Replace log() with logit() since ISO C reserves log() for the mathmillert2003-11-261-6/+6
| | | | | library and gcc 3.x will complain. Replacement name taken from NetBSD. espie@ OK.
* convert to poll; ok dhartmeideraadt2003-08-191-7/+6
|
* - section reorderjmc2003-06-121-6/+6
| | | | | | - macro fixes - kill whitespace at EOL - new sentence, new line
* some ansification, some de-registerderaadt2003-06-111-2/+3
|
* knfderaadt2003-03-051-262/+244
|
* skip this setuid stuffderaadt2003-03-041-3/+1
|
* copyrights added;jmc2003-02-181-1/+68
| | | | | | | | bootpef(8), pppd(8): Carnegie Mellon map-mbone(8), mrinfo(8): Xerox pdisk(8): Apple awk(1): Lucent sectok(3): University of Michigan
* don't use dynamically-generated printf format string. more pickyitojun2002-08-081-6/+5
| | | | about gethostby* result. check fd_set overrun. from xs@kittenz.org
* missing sockaddr inits; ok itojunderaadt2002-06-021-0/+1
|
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-18/+1
|
* 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-6/+6
|
* follow post-2.1 ip_off & ip_len byte ordersderaadt2001-12-101-1/+1
|
* this has been setuid for quite some timederaadt2001-12-051-4/+1
|
* 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.
* we don't like:mpech2001-07-201-2/+1
| | | | | | o) .Pp before/after .Sh; o) .Pp before/after .Sh; o) .Nm without argument in SYNOPSIS;
* Some fixes. From <mpech@prosoft.org.lv>ho2001-05-221-3/+3
|
* mdoc-ify. Fix section headers. Some typos.ho2001-05-221-68/+64
|
* exit(-#) is wrongderaadt2001-03-091-2/+2
|
* more careful euid killingderaadt2000-12-211-0/+1
|
* remove trailing whitespace, some Nm cleanupaaron1999-06-051-5/+5
|
* $OpenBSD$deraadt1997-09-211-2/+1
|
* check malloc() ret val!millert1996-10-161-3/+5
|
* revoke privs at start; tested by fenner@parc.xerox.comderaadt1996-09-111-4/+6
|
* from netbsd; update to mrouted 3.8deraadt1995-12-141-73/+177
|
* initial import of NetBSD treederaadt1995-10-183-0/+630