From owner-svn-src-head@FreeBSD.ORG Sat May 18 13:15:20 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E442FB0C; Sat, 18 May 2013 13:15:20 +0000 (UTC) (envelope-from sjg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id D5B79FD; Sat, 18 May 2013 13:15:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4IDFKVa061386; Sat, 18 May 2013 13:15:20 GMT (envelope-from sjg@svn.freebsd.org) Received: (from sjg@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4IDFKQP061385; Sat, 18 May 2013 13:15:20 GMT (envelope-from sjg@svn.freebsd.org) Message-Id: <201305181315.r4IDFKQP061385@svn.freebsd.org> From: "Simon J. Gerraty" Date: Sat, 18 May 2013 13:15:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r250771 - head/contrib/bmake X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 18 May 2013 13:15:21 -0000 Author: sjg Date: Sat May 18 13:15:19 2013 New Revision: 250771 URL: http://svnweb.freebsd.org/changeset/base/250771 Log: Match what is in netbsd. Modified: head/contrib/bmake/var.c Modified: head/contrib/bmake/var.c ============================================================================== --- head/contrib/bmake/var.c Sat May 18 13:07:01 2013 (r250770) +++ head/contrib/bmake/var.c Sat May 18 13:15:19 2013 (r250771) @@ -545,7 +545,7 @@ Var_Delete(const char *name, GNode *ctxt if (strchr(name, '$')) { cp = Var_Subst(NULL, name, VAR_GLOBAL, 0); } else { - cp = name; + cp = (char *)name; } ln = Hash_FindEntry(&ctxt->context, cp); if (DEBUG(VAR)) {