Received: by mail.netbsd.org (Postfix, from userid 605) id 70FE884DB5; Sat, 12 Jan 2019 22:14:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EB0B884DB1 for ; Sat, 12 Jan 2019 22:14:08 +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 ph7rAuBCD6Rl for ; Sat, 12 Jan 2019 22:14:08 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 729F684CFD for ; Sat, 12 Jan 2019 22:14:08 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6B676FB16; Sat, 12 Jan 2019 22:14:08 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 12 Jan 2019 22:14:08 +0000 From: "Robert Elz" Subject: CVS commit: src/lib/libwrap To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20190112221408.6B676FB16@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: "Robert Elz" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: kre Date: Sat Jan 12 22:14:08 UTC 2019 Modified Files: src/lib/libwrap: expandm.c expandm.h Log Message: Make expandm() return a const char * so we can do away with __UNCONST() and more importantly, so that we don't accidentally return a value that is a const char * in reality (pointer to read only string) as a char *. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libwrap/expandm.c cvs rdiff -u -r1.2 -r1.3 src/lib/libwrap/expandm.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.