Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Ingo Schwarze (schwarzecvs.openbsd.org)
Date: Fri Jun 05 2009 - 14:38:18 CDT
Module name: src
Changes by: schwarzecvs.openbsd.org 2009/06/05 13:38:18
lib/libc/gen : getgrent.c
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.