summaryrefslogtreecommitdiffstats
path: root/usr.bin/ypmatch/ypmatch.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+1
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-1/+0
| | | | Tested with: make universe
* Support shadow.byname and shadow.byuid maps, protecting them bybrian2009-06-251-0/+1
| | | | | | | | | | insisting on privileged port access. Include /var/yp/Makefile.local if it exists and suggest using it to override /var/yp/Makefile behaviour. Approved by: re (kib) MFC after: 3 weeks
* Sync program's usage() with manpage's SYNOPSIS.ru2005-05-211-1/+1
|
* Stop gcc warningspeter2003-10-261-1/+1
|
* Apply the following mechanical transformations in preparation fordes2002-02-061-9/+9
| | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* WARNS=2 fixesmarkm2001-12-111-14/+14
| | | | | | | | | | __FBSDID() additions some include file sorting. Some Makefile sorting. WARNS?=2 is not added to the Makefile, because it is going to be default for usr.bin/ NO_WERROR is set because there are rpc*.h file issues.
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add #include <string.h> to get prototypes.jb1998-02-201-1/+2
|
* Use err(3). Add Xreferences. Delay the compute of default domain.charnier1997-08-291-21/+17
| | | | Obtained from: OpenBSD
* Add an alias for master.passwd -> master.passwd.byname to the listpeter1997-07-121-0/+1
| | | | of convenience map aliases.
* Treat no match as a failure. This is the normal behaviour on SunOS.tegge1997-06-251-0/+1
|
* Submitted by: Sebastian Strollo <seb@erix.ericsson.se>wpaul1995-03-251-1/+1
| | | | Use hosts.byname as the alias for 'hosts' instead of hosts.byaddr.
* Move more YP user programs over.wollman1994-08-081-0/+134
OpenPOWER on IntegriCloud