summaryrefslogtreecommitdiffstats
path: root/usr.sbin/netgroup_mkdb/netgroup_mkdb.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Actually, the C standard only guarantees that atexit(3) returns non-zeroschwarze2019-06-281-2/+2
| | | | | on error, so tweak previous to test "atexit(...) != 0" for portability. "OK ok ok sorry backwards" deraadt@
* atexit() returns -1 on failurederaadt2019-06-281-2/+2
|
* pledge "stdio rpath wpath cpath", full path handling to satisfy dbopen()deraadt2015-10-131-1/+3
|
* Hide netgroup internals inside libc. The parts that netgroup_mkdbderaadt2015-09-101-2/+2
| | | | | wants to use, well.... copy them there. ok guenther
* stdlib.h is in scope; do not cast malloc/calloc/realloc*deraadt2015-08-201-5/+3
| | | | ok millert krw
* Move from <sys/param.h>. (The binary change is due to a line numberderaadt2015-01-161-4/+3
| | | | | passed to assert, found by doug) ok millert
* In preparation for getline and getdelim additions to libc, rename getline()fgsch2012-03-041-2/+2
| | | | | occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-4/+1
| | | | | | | 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
* documentation tweaks.sobrado2008-05-171-3/+3
| | | | ok (some time ago) jmc@
* Remove _err() calls from getnetgrent.c. This is a minor API changemillert2007-03-051-3/+6
| | | | | | as _ng_sl_add() now returns a value. The only consumer of that interface is netgroup_mkdb(8). Adapted from NetBSD. OK deraadt@
* knfderaadt2005-05-161-19/+17
|
* ansi and protosderaadt2003-06-261-38/+17
|
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-171-4/+4
|
* 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-13/+13
|
* warnx?/errx? paranoia (use "%s" not a bare string unless it is amillert2000-06-301-4/+4
| | | | | | | | | constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
* Kill extra newline in err()/warn().millert1997-09-121-4/+4
|
* repair recursive map entry thingy; christosderaadt1997-06-181-6/+7
|
* back out stringlist changesmillert1997-02-031-11/+9
|
* Use public stringlist (in libc)millert1997-02-021-8/+12
|
* getopt(3) returns -1 when out of args, not EOF, whee!millert1997-01-151-2/+2
|
* from netbsd:deraadt1996-05-011-21/+34
| | | | | | - Fixed core-dump when key has no netgroups - added -d flag for debugging. - moved external functions to netgroup.h
* initial import of NetBSD treederaadt1995-10-181-0/+715