Commit Graph

17 Commits

Author SHA1 Message Date
dsl
3cca093e74 Add (unsigned char) cast to ctype functions 2004-10-30 15:51:20 +00:00
lukem
d348d3d723 tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
wiz
d532b687e7 de-__P(), ANSIfy. 2002-07-06 00:55:29 +00:00
ad
e3af9d1d6b getopt() returns -1 on error, not EOF. 2001-08-18 17:10:04 +00:00
cgd
25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
itojun
863848734f with -n, permit non-IPv4 address in the output.
option name synchronized with solaris 8.
2000-07-30 02:25:08 +00:00
lukem
811d7dca54 fix up lossage WRT free()ing invalid pointers.
noted in [bin/8064]
1999-07-25 09:01:04 +00:00
lukem
ab8486e250 * don't print out entries that couldn't be parsed
* don't look for comments; fparseln strips them
1999-01-17 07:01:26 +00:00
kleink
41dc2c91bd Fix LP64 botches introduced in last commit. 1998-06-11 14:50:46 +00:00
lukem
211a72a8dc convert from in-house read_line to fparseln() 1998-06-08 06:53:47 +00:00
thorpej
ade3ce9789 Fix int vs. size_t lossage. 1997-11-13 18:35:57 +00:00
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
lukem
64718e58ff add rcsid 1997-10-13 03:15:30 +00:00
lukem
5f88ebd1a3 fix & simplify test for skippable lines 1997-10-07 14:56:11 +00:00
thorpej
3d8138fc0e Fix compiler warnings (and an awful lot of annoying little bugs). 1997-07-18 21:57:00 +00:00
chuck
c03ad89d2d include all host names for an address rather than just the first one 1996-11-24 20:16:43 +00:00
thorpej
60aa689c94 A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
1996-08-09 10:14:49 +00:00