Received: by mail.netbsd.org (Postfix, from userid 605) id D267E84D9A; Tue, 15 Jan 2019 00:31:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E170484D96 for ; Tue, 15 Jan 2019 00:31:19 +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 QdaOQsY2yQse for ; Tue, 15 Jan 2019 00:31:19 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 718C584D2B for ; Tue, 15 Jan 2019 00:31:19 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 631A0FB16; Tue, 15 Jan 2019 00:31:19 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 15 Jan 2019 00:31:19 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/lib/libc/gen To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20190115003119.631A0FB16@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: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Tue Jan 15 00:31:19 UTC 2019 Modified Files: src/lib/libc/gen: ctype.3 Log Message: Expand on correct and incorrect usage, and on compiler warnings. Give an example program with the warning, and some example nonsense outputs. Also note why glibc's approach doesn't solve the problem. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/lib/libc/gen/ctype.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.