From owner-cvs-all Sat Apr 27 15:33: 9 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CB71B37B417; Sat, 27 Apr 2002 15:32:57 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3RMWvD74522; Sat, 27 Apr 2002 15:32:57 -0700 (PDT) (envelope-from peter) Message-Id: <200204272232.g3RMWvD74522@freefall.freebsd.org> From: Peter Wemm Date: Sat, 27 Apr 2002 15:32:57 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_hints.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG peter 2002/04/27 15:32:57 PDT Modified files: sys/kern subr_hints.c Log: Finish fixing hints. Remember the use_kenv state for the next run. Otherwise we fall back to using the static hints the next time around. We still have the leftover fallback code there which meant that we skipped the use_hints checking on the second and subsequent calls. Also, be a bit more careful about walking off the end of the envp array. I've extracted this from a larger diff. I hope I didn't miss anything... Revision Changes Path 1.6 +10 -8 src/sys/kern/subr_hints.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message