diff options
author | wpaul <wpaul@FreeBSD.org> | 1996-04-15 16:17:04 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1996-04-15 16:17:04 +0000 |
commit | 78748acfc60b88987b419de1eada1d6b9828a33b (patch) | |
tree | 8721ecdc062aa7417830ecb8608737052d3c3976 /lib/libcurses/toucholap.c | |
parent | 64edb8a1f64fad69d52cb6ebb82c141c0b87fd0f (diff) | |
download | FreeBSD-src-78748acfc60b88987b419de1eada1d6b9828a33b.zip FreeBSD-src-78748acfc60b88987b419de1eada1d6b9828a33b.tar.gz |
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.
Diffstat (limited to 'lib/libcurses/toucholap.c')
0 files changed, 0 insertions, 0 deletions