Date: Fri, 1 Sep 1995 21:08:57 -0700 From: Bill Paul <wpaul> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/gen getpwent.c getgrent.c getnetgrent.c Message-ID: <199509020408.VAA23434@freefall.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
wpaul 95/09/01 21:08:56 Modified: lib/libc/gen getpwent.c getgrent.c getnetgrent.c Log: getpwent.c: turn the code that checks the override caches into a seperate function to avoid duplication. Also fix getpwent() a small bit to properly handle the case where the magic NIS '+' entry appears before the end of the password file. getgrent.c: be a little more SunOS-ish. Make it look like the NIS group map is 'inserted' at the the point(s) where the magic NIS '+' entry/entries appear. getgrent: fix a file descriptor leak: remember to close the netgroup file after we determine that we're using NIS-only innetgr() lookups.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509020408.VAA23434>