CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2009/06/05 13:38:18

Modified files:
        lib/libc/gen   : getgrent.c 

Log message:
The yp_bind(3) return code now distinguishes "YP not active" from "an error
occurred".  Based on this, decide to either bail or use the record as is.
Prevents getgrnam(3) and friends from silently skipping YP records
on system errors, for example when out of memory.
Also, calling yp_get_default_domain once is enough.
The first two switch cases are unchanged, just reindented.
ok millert@

Reply via email to