Received: by mail.netbsd.org (Postfix, from userid 605) id 07DEC84E02; Sun, 4 Feb 2018 01:13:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 845A884DFB for ; Sun, 4 Feb 2018 01:13:46 +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 wOjhwdhNCAVE for ; Sun, 4 Feb 2018 01:13:46 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DAE3484C74 for ; Sun, 4 Feb 2018 01:13:45 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D49B7FB40; Sun, 4 Feb 2018 01:13:45 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 4 Feb 2018 01:13:45 +0000 From: "matthew green" Subject: CVS commit: src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180204011345.D49B7FB40@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: "matthew green" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: mrg Date: Sun Feb 4 01:13:45 UTC 2018 Modified Files: src/common/lib/libc/string: strcspn.c strncat.c strncpy.c strpbrk.c strspn.c strstr.c src/include: ucontext.h src/lib/libc/gmon: Makefile.inc src/lib/libc/stdio: fprintf.c fputc.c fputs.c fwrite.c putc.c puts.c scanf.c sscanf.c vprintf.c vscanf.c Log Message: fixes for GCC 6: - -Wstrict-prototypes is not available for C++, so don't try to ignore it for C++. - remove many _DIAGASSERT() checks against not NULL for functions with arguments with nonnull attributes. in two cases, leave code behind that should set defaults to "(null)". - use -Wno-error=frame-address for i386 mcount, as it seems valid to assume the caller will have a frame.fair To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/string/strcspn.c \ src/common/lib/libc/string/strpbrk.c src/common/lib/libc/string/strspn.c cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strncat.c \ src/common/lib/libc/string/strstr.c cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/strncpy.c cvs rdiff -u -r1.10 -r1.11 src/include/ucontext.h cvs rdiff -u -r1.11 -r1.12 src/lib/libc/gmon/Makefile.inc cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdio/fprintf.c \ src/lib/libc/stdio/fputc.c src/lib/libc/stdio/vprintf.c cvs rdiff -u -r1.15 -r1.16 src/lib/libc/stdio/fputs.c \ src/lib/libc/stdio/vscanf.c cvs rdiff -u -r1.17 -r1.18 src/lib/libc/stdio/fwrite.c cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdio/putc.c cvs rdiff -u -r1.16 -r1.17 src/lib/libc/stdio/puts.c cvs rdiff -u -r1.14 -r1.15 src/lib/libc/stdio/scanf.c cvs rdiff -u -r1.21 -r1.22 src/lib/libc/stdio/sscanf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.