svn commit: r250771 - head/contrib/bmake

Simon J. Gerraty sjg at FreeBSD.org
Sat May 18 13:15:21 UTC 2013


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)) {


More information about the svn-src-head mailing list