From owner-svn-src-all@FreeBSD.ORG Mon Dec 29 08:05:49 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB2C51065676; Mon, 29 Dec 2008 08:05:49 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C36008FC1E; Mon, 29 Dec 2008 08:05:49 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBT85nF5048955; Mon, 29 Dec 2008 08:05:49 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBT85nDx048952; Mon, 29 Dec 2008 08:05:49 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <200812290805.mBT85nDx048952@svn.freebsd.org> From: "David E. O'Brien" Date: Mon, 29 Dec 2008 08:05:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186558 - head/usr.bin/make X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2008 08:05:50 -0000 Author: obrien Date: Mon Dec 29 08:05:49 2008 New Revision: 186558 URL: http://svn.freebsd.org/changeset/base/186558 Log: Consistently use Var_SetGlobal(). Modified: head/usr.bin/make/for.c head/usr.bin/make/parse.c head/usr.bin/make/suff.c Modified: head/usr.bin/make/for.c ============================================================================== --- head/usr.bin/make/for.c Mon Dec 29 06:31:03 2008 (r186557) +++ head/usr.bin/make/for.c Mon Dec 29 08:05:49 2008 (r186558) @@ -254,7 +254,7 @@ For_Run(int lineno) LST_FOREACH(ln, &values) { val = Lst_Datum(ln); - Var_Set(var, val, VAR_GLOBAL); + Var_SetGlobal(var, val); DEBUGF(FOR, ("--- %s = %s\n", var, val)); str = Buf_Peel(Var_SubstOnly(var, Buf_Data(buf), FALSE)); Modified: head/usr.bin/make/parse.c ============================================================================== --- head/usr.bin/make/parse.c Mon Dec 29 06:31:03 2008 (r186557) +++ head/usr.bin/make/parse.c Mon Dec 29 08:05:49 2008 (r186558) @@ -1076,7 +1076,7 @@ ParseDoDependency(char *line) break; case Posix: is_posix = TRUE; - Var_Set("%POSIX", "1003.2", VAR_GLOBAL); + Var_SetGlobal("%POSIX", "1003.2"); break; default: break; Modified: head/usr.bin/make/suff.c ============================================================================== --- head/usr.bin/make/suff.c Mon Dec 29 06:31:03 2008 (r186557) +++ head/usr.bin/make/suff.c Mon Dec 29 08:05:49 2008 (r186558) @@ -785,11 +785,11 @@ Suff_DoPaths(void) } ptr = Path_MakeFlags("-I", &inIncludes); - Var_Set(".INCLUDES", ptr, VAR_GLOBAL); + Var_SetGlobal(".INCLUDES", ptr); free(ptr); ptr = Path_MakeFlags("-L", &inLibs); - Var_Set(".LIBS", ptr, VAR_GLOBAL); + Var_SetGlobal(".LIBS", ptr); free(ptr); Path_Clear(&inIncludes);