Received: by mail.netbsd.org (Postfix, from userid 605) id 2895084FAF; Sun, 27 Feb 2022 07:50:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 51F2184FAC for ; Sun, 27 Feb 2022 07:50:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id GJDgIr92Yihr for ; Sun, 27 Feb 2022 07:50:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DA16E84F6E for ; Sun, 27 Feb 2022 07:50:09 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CDC9BFB24; Sun, 27 Feb 2022 07:50:09 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 27 Feb 2022 07:50:09 +0000 From: "Roland Illig" Subject: CVS commit: src/usr.bin/xlint To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220227075009.CDC9BFB24@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: 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 Feb 27 07:50:09 UTC 2022 Modified Files: src/usr.bin/xlint: Makefile.inc src/usr.bin/xlint/lint1: lex.c lint1.h Log Message: lint: clean up memory management for string buffers There is no reason to duplicate all the work that is already done by the memory allocator. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.bin/xlint/Makefile.inc cvs rdiff -u -r1.99 -r1.100 src/usr.bin/xlint/lint1/lex.c cvs rdiff -u -r1.137 -r1.138 src/usr.bin/xlint/lint1/lint1.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.