Sync getnetgrent with FreeBSD:
authorPeter Avalos <pavalos@theshell.com>
Tue, 10 Mar 2009 08:30:28 +0000 (22:30 -1000)
committerPeter Avalos <pavalos@theshell.com>
Tue, 7 Apr 2009 07:09:38 +0000 (21:09 -1000)
commitebdfa5793d78183d795e9af345338f9f265f1df0
treebfe961145f84bef2a4c0f061c3021ebb91b43a20
parentb39b2b27be6ef15e163a14f3aba068c5c95efeb9
Sync getnetgrent with FreeBSD:

* Fix innetgr() returning false positives and negatives when reverse
netgroup matching is used.

* Remember to reset nextgrp in getnetgrent(), so that subsequent calls
to getnetgrent() doesn't return bogus information.
lib/libc/gen/getnetgrent.c