From owner-cvs-all@FreeBSD.ORG Mon May 9 14:06:05 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3130616A4E8; Mon, 9 May 2005 14:06:05 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D0EC43D83; Mon, 9 May 2005 14:06:05 +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 j49E64Yq072581; Mon, 9 May 2005 14:06:05 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j49E640a072580; Mon, 9 May 2005 14:06:04 GMT (envelope-from harti) Message-Id: <200505091406.j49E640a072580@repoman.freebsd.org> From: Hartmut Brandt Date: Mon, 9 May 2005 14:06:04 +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 arch.c compat.c for.c job.c main.c parse.c suff.c var.c var.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 14:06:05 -0000 harti 2005-05-09 14:06:04 UTC FreeBSD src repository Modified files: usr.bin/make arch.c compat.c for.c job.c main.c parse.c suff.c var.c var.h Log: Split Var_Subst() into two functions: Var_SubstOnly() which substitutes only one variable and Var_Subst() which substitutes all. Split out the test whether a variable should not be expanded into match_var(). Make access to the input string consistently using str[]. Remove two unused functions: Var_GetTail() and Var_GetHead(). Patches: 7.184-7.189 Submitted by: Max Okumoto Revision Changes Path 1.62 +2 -2 src/usr.bin/make/arch.c 1.57 +1 -1 src/usr.bin/make/compat.c 1.42 +2 -2 src/usr.bin/make/for.c 1.93 +5 -5 src/usr.bin/make/job.c 1.137 +2 -2 src/usr.bin/make/main.c 1.102 +7 -7 src/usr.bin/make/parse.c 1.61 +1 -1 src/usr.bin/make/suff.c 1.146 +152 -140 src/usr.bin/make/var.c 1.18 +2 -3 src/usr.bin/make/var.h