summaryrefslogtreecommitdiffstats
path: root/usr.sbin/netgroup_mkdb (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
|
* add some EXIT STATUS sections; from matthew martinjmc2018-06-071-5/+4
|
* Remove NULL-checks before free().mmcc2015-12-191-5/+3
|
* change Xrs from now-defunct db(3) to dbopen(3); this wasn;t ajmc2015-11-301-6/+4
| | | | | | | straight replace: thanks both to schwarze and maja for feedback on how to rewrite parts; i've snuck in an rcs id->openbsd id change in dev_mkdb too;
* err(1, "%s", "") -> err(1, NULL)mmcc2015-11-061-2/+2
| | | | Discussed with schwarze@
* pledge "stdio rpath wpath cpath", full path handling to satisfy dbopen()deraadt2015-10-131-1/+3
|
* include ctype.h for the isspace(3) using _NG_ISSPACEjsg2015-10-011-1/+2
|
* Hide netgroup internals inside libc. The parts that netgroup_mkdbderaadt2015-09-104-4/+330
| | | | | 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
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-052-3/+1
| | | | ok guenther millert kettenis
* In preparation for getline and getdelim additions to libc, rename getline()fgsch2012-03-043-5/+5
| | | | | 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-273-12/+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@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* 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-163-53/+48
|
* ansi cleanup; khalek@linuxgamers.netderaadt2004-08-012-22/+9
|
* ansi and protosderaadt2003-06-261-38/+17
|
* - section reorderjmc2003-06-121-8/+8
| | | | | | - macro fixes - kill whitespace at EOL - new sentence, new line
* 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-163-21/+21
|
* Change all option list specifications to ".Bl -tag -width Ds". Most manaaron2000-11-091-2/+2
| | | | | pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
* 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).
* Mostly punctuation fixes.aaron2000-04-151-3/+3
|
* Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otheraaron2000-03-191-2/+3
| | | | cleanup along the way.
* remove trailing whitespace, some Nm cleanupaaron1999-06-051-14/+14
|
* $OpenBSD$deraadt1997-09-211-2/+1
|
* Kill extra newline in err()/warn().millert1997-09-121-4/+4
|
* repair recursive map entry thingy; christosderaadt1997-06-181-6/+7
|
* handle \\ at start of line; christosderaadt1997-04-151-2/+2
|
* 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-187-0/+1121