From owner-cvs-src@FreeBSD.ORG Wed Dec 8 16:22:01 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCD9916A4CE; Wed, 8 Dec 2004 16:22:01 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A118F43D41; Wed, 8 Dec 2004 16:22:01 +0000 (GMT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iB8GM1Bl073977; Wed, 8 Dec 2004 16:22:01 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB8GM1qb073972; Wed, 8 Dec 2004 16:22:01 GMT (envelope-from harti) Message-Id: <200412081622.iB8GM1qb073972@repoman.freebsd.org> From: Hartmut Brandt Date: Wed, 8 Dec 2004 16:22:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/make Makefile arch.c dir.c job.c lst.h make.c make.h suff.c targ.c src/usr.bin/make/lst.lib lstClose.c lstInit.c lstIsAtEnd.c lstNext.c lstOpen.c lstRemove.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 16:22:01 -0000 harti 2004-12-08 16:22:01 UTC FreeBSD src repository Modified files: usr.bin/make Makefile arch.c dir.c job.c lst.h make.c make.h suff.c targ.c usr.bin/make/lst.lib lstInit.c lstRemove.c Removed files: usr.bin/make/lst.lib lstClose.c lstIsAtEnd.c lstNext.c lstOpen.c Log: Get rid of the sequential access feature of the lists. This was used only in a couple of places and all of them except for one were easily converted to use Lst_First/Lst_Succ. The one place is compatibility mode in job.c where the it was used to advance to the next command on each invocation of JobStart. For this case add a pointer to the node to hold the currently executed command. Revision Changes Path 1.39 +2 -2 src/usr.bin/make/Makefile 1.41 +1 -8 src/usr.bin/make/arch.c 1.42 +14 -39 src/usr.bin/make/dir.c 1.68 +27 -36 src/usr.bin/make/job.c 1.22 +0 -22 src/usr.bin/make/lst.h 1.13 +0 -80 src/usr.bin/make/lst.lib/lstClose.c (dead) 1.14 +0 -2 src/usr.bin/make/lst.lib/lstInit.c 1.13 +0 -81 src/usr.bin/make/lst.lib/lstIsAtEnd.c (dead) 1.15 +0 -106 src/usr.bin/make/lst.lib/lstNext.c (dead) 1.14 +0 -83 src/usr.bin/make/lst.lib/lstOpen.c (dead) 1.16 +0 -13 src/usr.bin/make/lst.lib/lstRemove.c 1.30 +38 -46 src/usr.bin/make/make.c 1.27 +3 -0 src/usr.bin/make/make.h 1.36 +12 -28 src/usr.bin/make/suff.c 1.31 +1 -5 src/usr.bin/make/targ.c