From owner-cvs-all@FreeBSD.ORG Wed Mar 2 14:30:37 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 2DE3F16A4CE; Wed, 2 Mar 2005 14:30:37 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0423B43D2F; Wed, 2 Mar 2005 14:30:37 +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 j22EUag7077421; Wed, 2 Mar 2005 14:30:36 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j22EUafp077420; Wed, 2 Mar 2005 14:30:36 GMT (envelope-from harti) Message-Id: <200503021430.j22EUafp077420@repoman.freebsd.org> From: Hartmut Brandt Date: Wed, 2 Mar 2005 14:30:36 +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 var.c 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: Wed, 02 Mar 2005 14:30:37 -0000 harti 2005-03-02 14:30:36 UTC FreeBSD src repository Modified files: usr.bin/make var.c Log: Push the length computation down into VarParseShort(). Return always malloc()-ed strings from VarParseShort() to get rid of warnings when returning string constants from a non-const char * function. Patch: 7.90 Submitted by: Max Okumoto Revision Changes Path 1.101 +27 -17 src/usr.bin/make/var.c