summaryrefslogtreecommitdiff
path: root/testsuite/nsswitch/getgrent_r.c
AgeCommit message (Collapse)AuthorFilesLines
2009-06-06testsuite/nsswitch/get{gr,pw}ent_r.c(dump_{gr,pw}ent): fixed wrong condition.Slava Semushin1-1/+1
When fopen() fails it return NULL, so condition where return value less than zero never evaluated to truth. Found by cppcheck.
2000-05-12Merge from TNG.Tim Potter1-0/+84
(This used to be commit af5ded9f17addb4bc89ecb762b9b99d2f99463ab)