NetBSD/usr.sbin/ypserv/revnetgroup
lukem f4fb444bd9 * rewrite read_line(), partially based on get_line in netgroup_mkdb.c:
- use fgetln() instead of fgets()
	- store info in internal buffer
	- fix \\ support
	- count line numbers internally, so \\ lines don't mess up count
* ypdb_store():
	- ensure that the length of key or val doesn't exceed YPMAXRECORD
* makedbm, mknetid, revnetgroup, stdethers, stdhosts:
	- improve error handling
	- take advantage of rewritten read_line(), and cleanup line parsing
	- don't print trailing ` ' for key/val pairs with an empty val
* Makefile.yp:
	- fix up building of ypservers (from Chuck Cranor)
* ypinit.sh:
	- remove leading spaces in variable assignment (from Chuck Cranor)
1997-11-01 14:24:50 +00:00
..
hash.c KNF & WARNSify 1997-10-06 06:54:09 +00:00
hash.h KNF & WARNSify 1997-10-06 06:54:09 +00:00
Makefile KNF & WARNSify 1997-10-06 06:54:09 +00:00
parse_netgroup.c KNF & WARNSify 1997-10-06 06:54:09 +00:00
revnetgroup.8 KNF & WARNSify 1997-10-06 06:54:09 +00:00
revnetgroup.c * rewrite read_line(), partially based on get_line in netgroup_mkdb.c: 1997-11-01 14:24:50 +00:00