From owner-cvs-all Tue Jan 29 13:41:50 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 91A7D37B428; Tue, 29 Jan 2002 13:41:08 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0TLf8s90170; Tue, 29 Jan 2002 13:41:08 -0800 (PST) (envelope-from murray) Message-Id: <200201292141.g0TLf8s90170@freefall.freebsd.org> From: Murray Stokely Date: Tue, 29 Jan 2002 13:41:08 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sysinstall index.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 murray 2002/01/29 13:41:08 PST Modified files: usr.sbin/sysinstall index.c Log: The huge dependency lists of some of our packages has brought attention to the sub-optimal way that we deal with package dependencies. Traditionally, for each package in an INDEX that the user wants to add, we check all of the dependencies first even if the package is already installed. With some GNOME packages, this can cause package_extract to be called for 50 different dependencies when we know the top level package is already installed. The new behavior is to not check dependencies for packages that are already installed. This fixes a bug where sysinstall gets itself into a CPU intensive loop when trying to install sawfish gnome with the most recent ports/INDEX. There is a bug somewhere in the ports INDEX, but with over 6,400 ports we need to be a little more forgiving here. Revision Changes Path 1.95 +14 -1 src/usr.sbin/sysinstall/index.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message