Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 78A4D1A9213 for ; Sun, 26 Jul 2020 20:21:33 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id E692184D64; Sun, 26 Jul 2020 20:21:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6BA5F84D61 for ; Sun, 26 Jul 2020 20:21:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 2aJQbTfE46Fz for ; Sun, 26 Jul 2020 20:21:32 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 0BB5B84CE7 for ; Sun, 26 Jul 2020 20:21:32 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 9D588FB28; Sun, 26 Jul 2020 20:21:31 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 26 Jul 2020 20:21:31 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.bin/make To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200726202131.9D588FB28@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Roland Illig" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rillig Date: Sun Jul 26 20:21:31 UTC 2020 Modified Files: src/usr.bin/make: arch.c cond.c nonints.h suff.c var.c Log Message: make(1): make return value of Var_Parse constant This return value is not supposed to be modified since it can be a string literal. The modifiable part is returned via freePtr, but only for freeing, not for actually modifying anything. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/usr.bin/make/arch.c cvs rdiff -u -r1.81 -r1.82 src/usr.bin/make/cond.c cvs rdiff -u -r1.85 -r1.86 src/usr.bin/make/nonints.h cvs rdiff -u -r1.89 -r1.90 src/usr.bin/make/suff.c cvs rdiff -u -r1.330 -r1.331 src/usr.bin/make/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.