summaryrefslogtreecommitdiffstats
path: root/usr.sbin/chkgrp/chkgrp.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert r286148bapt2015-08-011-2/+2
|
* Handle +:*:: the same way we handle +::: when checking group filebapt2015-08-011-1/+2
| | | | The first is what the documentation recommands for NIS client
* Use strtoumax instead of strtoulbapt2015-08-011-2/+3
|
* Clean up, reindent, add a special case for NIS / LDAP linedes2014-12-141-129/+127
| | | | MFC after: 1 week
* This wasn't supposed to be in there - I committed the wrong patch.eadler2012-11-151-1/+0
| | | | Approved by: cperciva (implicit)
* Add support for a -q flag. While here make the custom argument parsingeadler2012-11-151-13/+23
| | | | | | | | | use getopt instead of hacking on it more. This change also fixes the method of silencing the compiler warning about gfn being used uninitialized. Approved by: cperciva MFC after: 1 week
* Be declarative about if an error has occured.eadler2012-11-151-8/+8
| | | | | | | | Fixes overflow on very large group files with lots of errors. This is unlikely to occur in practice. Approved by: cperciva MFC after: 1 week
* Fix error code if file isn't readable.eadler2012-11-151-1/+1
| | | | | Approved by: cperciva MFC after: 1 week
* Check the range of the gideadler2012-11-151-0/+15
| | | | | Approved by: cperciva MFC after: 1 week
* Reencode files to UTF-8. Drop CP1252 em-dash.uqs2011-12-301-1/+1
|
* Fix a bug introduced in revision 1.9 which causes chkgrp to coredump oncperciva2005-08-251-5/+9
| | | | | | | | certain corrupt files. Submitted by: liamfoy@dragonflybsd.org Reported by: Nikolay Kalev, via freebsd-current MFC after: 3 days
* The check for invalid characters introduced in 1.9 incorrectlyroberto2005-08-041-1/+2
| | | | | | | | | flags NIS entries as invalid. MFC6 candidate Submitted by: Bob Willcox <bob@immure.com> PR: bin/82325 (but I used the patch from Bob).
* - Add further functionality to check for invalid charactersroberto2005-05-261-6/+24
| | | | | | | | | - Remove keyword 'continue' for more indepth error reporting on each line - WARNS 6 Clean Submitted by: Liam J. Foy <liamfoy@dragonflybsd.org> MFC after: 1 week
* Warn if there is no newline at the end of the group file.roam2003-06-061-0/+4
| | | | | | | PR: 51256 Submitted by: Brian D Gallaway <bdg730@makserver0.usask.ca> Reviewed by: tjr, -audit Approved by: tjr
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
|
* Use correct type of argument to fgetln.mjacob2001-07-031-1/+2
| | | | MFC after: 1 week
* Constify, staticize and add a missing include; add WARNS?=2.des2001-06-241-4/+6
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> MFC after: 2 weeks
* match prototypecharnier2000-05-281-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Typo police. '#ifndef lint' around CVS id. Don't use __progname in usage().des1998-05-271-8/+6
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Add chkgrp, a small utility for checking for syntax errors in groupdes1998-05-241-0/+143
files. PR: bin/1387 Suggested-by: Giles Lean <giles@nemeton.com
OpenPOWER on IntegriCloud