Date: Fri, 1 Sep 1995 21:16:22 -0700 From: Bill Paul <wpaul> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/yp yplib.c Message-ID: <199509020416.VAA23906@freefall.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
wpaul 95/09/01 21:16:22 Modified: lib/libc/yp yplib.c Log: Clear up a minor bogosity in yp_match(): we have YPMATCHCACHE turned on, which is fine, except that _yp_dobind() is called before we check the cache. The means we can return from the cache check (if we have a hit) without calling _yp_unbind(). We should do the cache check first and _then_ drop into the section that binds the server and does the yp_match query.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509020416.VAA23906>