Received: by mail.netbsd.org (Postfix, from userid 605) id B1C0C84E64; Fri, 9 Jul 2021 20:00:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E5B8584E62 for ; Fri, 9 Jul 2021 20:00:26 +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 nY0w2-9BCGVA for ; Fri, 9 Jul 2021 20:00:26 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 87B8684CDF for ; Fri, 9 Jul 2021 20:00:26 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8083FFA95; Fri, 9 Jul 2021 20:00:26 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 9 Jul 2021 20:00:26 +0000 From: "Robert Elz" Subject: CVS commit: src/tests/lib/libc/stdio To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210709200026.8083FFA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Robert Elz" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: kre Date: Fri Jul 9 20:00:26 UTC 2021 Modified Files: src/tests/lib/libc/stdio: h_intr.c Log Message: Make opts.cmd const char * rather than char * -- nothing ever modifies the string it points to, it is never passed to a function not taking a const char * arg, and this allows "" (or other literal strings if ever needed) to be assigned to it - which should fix the build. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/stdio/h_intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.