From owner-svn-src-head@FreeBSD.ORG Tue Jan 6 16:24:23 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50451106566C; Tue, 6 Jan 2009 16:24:23 +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 3E79F8FC1F; Tue, 6 Jan 2009 16:24:23 +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 n06GONJR036134; Tue, 6 Jan 2009 16:24:23 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n06GONlG036133; Tue, 6 Jan 2009 16:24:23 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <200901061624.n06GONlG036133@svn.freebsd.org> From: "David E. O'Brien" Date: Tue, 6 Jan 2009 16:24:23 +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: r186831 - head/usr.bin/make X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 16:24:23 -0000 Author: obrien Date: Tue Jan 6 16:24:22 2009 New Revision: 186831 URL: http://svn.freebsd.org/changeset/base/186831 Log: Note that r186713 also contained a change to VarAdd where we propagate the newly created 'Var' back to the caller. Also, back out an accidentally commented WIP comment. Modified: head/usr.bin/make/var.c Modified: head/usr.bin/make/var.c ============================================================================== --- head/usr.bin/make/var.c Tue Jan 6 15:18:14 2009 (r186830) +++ head/usr.bin/make/var.c Tue Jan 6 16:24:22 2009 (r186831) @@ -2319,8 +2319,7 @@ match_var(const char str[], const char v * None. The old string must be freed by the caller */ Buffer * -//Var_Subst(const char *var, const char *str, GNode *ctxt, Boolean undefErr) -Var_Subst( const char *str, GNode *ctxt, Boolean err) +Var_Subst(const char *str, GNode *ctxt, Boolean err) { Boolean errorReported; Buffer *buf; /* Buffer for forming things */