Author: bapt Date: Sat Aug 1 08:39:55 2015 New Revision: 286149 URL: https://svnweb.freebsd.org/changeset/base/286149
Log: Handle +:*:: the same way we handle +::: when checking group file The first is what the documentation recommands for NIS client Modified: head/usr.sbin/chkgrp/chkgrp.c Modified: head/usr.sbin/chkgrp/chkgrp.c ============================================================================== --- head/usr.sbin/chkgrp/chkgrp.c Sat Aug 1 08:35:20 2015 (r286148) +++ head/usr.sbin/chkgrp/chkgrp.c Sat Aug 1 08:39:55 2015 (r286149) @@ -106,7 +106,8 @@ main(int argc, char *argv[]) /* * Hack: special case for + line */ - if (strncmp(line, "+:::", len) == 0) + if (strncmp(line, "+:::", len) == 0 || + strncmp(line, "+:*::", len) == 0) continue; /* _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"