summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/toucholap.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-04-15 16:17:04 +0000
committerwpaul <wpaul@FreeBSD.org>1996-04-15 16:17:04 +0000
commit78748acfc60b88987b419de1eada1d6b9828a33b (patch)
tree8721ecdc062aa7417830ecb8608737052d3c3976 /lib/libcurses/toucholap.c
parent64edb8a1f64fad69d52cb6ebb82c141c0b87fd0f (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud