Siddhesh Poyarekar 58b930ae21 Return failure in getnetgrent only when all netgroups have been searched (#17363)
The netgroups lookup code fails when one of the groups in the search
tree is empty.  In such a case it only returns the leaves of the tree
after the blank netgroup.  This is because the line parser returns a
NOTFOUND status when the netgroup exists but is empty.  The
__getnetgrent_internal implementation needs to be fixed to try
remaining groups if the current group is entry.  This patch implements
this fix.  Tested on x86_64.

	[BZ #17363]
	* inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
	group if the current group is empty.
2014-09-10 21:51:50 +05:30
..
2011-05-05 07:36:40 -04:00
2003-08-27 20:57:30 +00:00
2011-12-03 21:49:35 -05:00
2013-06-05 20:44:03 +00:00
2013-06-05 20:44:03 +00:00
2006-05-25 04:50:06 +00:00