History log of /freebsd-10.3-release/usr.sbin/chkgrp/chkgrp.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

# 284994 01-Jul-2015 des

MFH (r275765): clean up, add special case for + line


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 243085 15-Nov-2012 eadler

This wasn't supposed to be in there - I committed the wrong patch.

Approved by: cperciva (implicit)


# 243084 15-Nov-2012 eadler

Add support for a -q flag. While here make the custom argument parsing
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


# 243083 15-Nov-2012 eadler

Be declarative about if an error has occured.

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


# 243077 15-Nov-2012 eadler

Fix error code if file isn't readable.

Approved by: cperciva
MFC after: 1 week


# 243076 15-Nov-2012 eadler

Check the range of the gid

Approved by: cperciva
MFC after: 1 week


# 228976 30-Dec-2011 uqs

Reencode files to UTF-8. Drop CP1252 em-dash.


# 149463 25-Aug-2005 cperciva

Fix a bug introduced in revision 1.9 which causes chkgrp to coredump on
certain corrupt files.

Submitted by: liamfoy@dragonflybsd.org
Reported by: Nikolay Kalev, via freebsd-current
MFC after: 3 days


# 148695 04-Aug-2005 roberto

The check for invalid characters introduced in 1.9 incorrectly
flags NIS entries as invalid.

MFC6 candidate

Submitted by: Bob Willcox <bob@immure.com>
PR: bin/82325 (but I used the patch from Bob).


# 146641 26-May-2005 roberto

- Add further functionality to check for invalid characters
- 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


# 115891 06-Jun-2003 roam

Warn if there is no newline at the end of the group file.

PR: 51256
Submitted by: Brian D Gallaway <bdg730@makserver0.usask.ca>
Reviewed by: tjr, -audit
Approved by: tjr


# 114601 03-May-2003 obrien

Use __FBSDID over rcsid[]. Protect copyright[] where needed.


# 79160 03-Jul-2001 mjacob

Use correct type of argument to fgetln.

MFC after: 1 week


# 78700 24-Jun-2001 des

Constify, staticize and add a missing include; add WARNS?=2.

Submitted by: Mike Barcroft <mike@q9media.com>
MFC after: 2 weeks


# 61019 28-May-2000 charnier

match prototype


# 50479 28-Aug-1999 peter

$Id$ -> $FreeBSD$


# 36416 27-May-1998 des

Typo police. '#ifndef lint' around CVS id. Don't use __progname in usage().

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>


# 36332 24-May-1998 des

Add chkgrp, a small utility for checking for syntax errors in group
files.

PR: bin/1387
Suggested-by: Giles Lean <giles@nemeton.com