Date: Mon, 15 Apr 1996 09:17:06 -0700 (PDT) From: Bill Paul <wpaul> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen getnetgrent.c Message-ID: <199604151617.JAA00874@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 96/04/15 09:17:06
Modified: lib/libc/gen getnetgrent.c
Log:
Fix a few NIS-related bogons:
- Clear the _yp_innetgr flag immediately after calling setnetgrent() from
innetgr(). We only need the flag set to temporarily alter setnetgrent()'s
behavior. Previously, it was being cleared too late.
- When in NIS-only mode, innetgr() was wasting time doing unecessary
extra processing after it had already found a match.
- Remember to free memory allocated by the NIS functions during innetgr()
searches.
Revision Changes Path
1.14 +14 -11 src/lib/libc/gen/getnetgrent.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604151617.JAA00874>
