Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert r286148 | bapt | 2015-08-01 | 1 | -2/+2 |
| | |||||
* | Handle +:*:: the same way we handle +::: when checking group file | bapt | 2015-08-01 | 1 | -1/+2 |
| | | | | The first is what the documentation recommands for NIS client | ||||
* | Use strtoumax instead of strtoul | bapt | 2015-08-01 | 1 | -2/+3 |
| | |||||
* | Clean up, reindent, add a special case for NIS / LDAP line | des | 2014-12-14 | 1 | -129/+127 |
| | | | | MFC after: 1 week | ||||
* | This wasn't supposed to be in there - I committed the wrong patch. | eadler | 2012-11-15 | 1 | -1/+0 |
| | | | | Approved by: cperciva (implicit) | ||||
* | Add support for a -q flag. While here make the custom argument parsing | eadler | 2012-11-15 | 1 | -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. | eadler | 2012-11-15 | 1 | -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. | eadler | 2012-11-15 | 1 | -1/+1 |
| | | | | | Approved by: cperciva MFC after: 1 week | ||||
* | Check the range of the gid | eadler | 2012-11-15 | 1 | -0/+15 |
| | | | | | Approved by: cperciva MFC after: 1 week | ||||
* | Reencode files to UTF-8. Drop CP1252 em-dash. | uqs | 2011-12-30 | 1 | -1/+1 |
| | |||||
* | Fix a bug introduced in revision 1.9 which causes chkgrp to coredump on | cperciva | 2005-08-25 | 1 | -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 incorrectly | roberto | 2005-08-04 | 1 | -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 characters | roberto | 2005-05-26 | 1 | -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. | roam | 2003-06-06 | 1 | -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. | obrien | 2003-05-03 | 1 | -4/+2 |
| | |||||
* | Use correct type of argument to fgetln. | mjacob | 2001-07-03 | 1 | -1/+2 |
| | | | | MFC after: 1 week | ||||
* | Constify, staticize and add a missing include; add WARNS?=2. | des | 2001-06-24 | 1 | -4/+6 |
| | | | | | Submitted by: Mike Barcroft <mike@q9media.com> MFC after: 2 weeks | ||||
* | match prototype | charnier | 2000-05-28 | 1 | -1/+1 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Typo police. '#ifndef lint' around CVS id. Don't use __progname in usage(). | des | 1998-05-27 | 1 | -8/+6 |
| | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> | ||||
* | Add chkgrp, a small utility for checking for syntax errors in group | des | 1998-05-24 | 1 | -0/+143 |
files. PR: bin/1387 Suggested-by: Giles Lean <giles@nemeton.com |