Don't forget to reset _pw_stepping_yp to 0 before returning. Fixes a bug
where getpwent() would ignore wildcard entries that followed a netgroup entry. PR: misc/12999 Submitted by: David Hedley <david@inty.net>
This commit is contained in:
parent
145eecf845
commit
ecab1f6824
@ -427,6 +427,7 @@ unwind(grp)
|
||||
} else {
|
||||
endgrent();
|
||||
latch = 0;
|
||||
_pw_stepping_yp = 0;
|
||||
gr = NULL;
|
||||
return(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user