CVS commit: [netbsd-10] src
Module Name:src Committed By: martin Date: Fri Jul 14 08:22:00 UTC 2023 Modified Files: src/external/gpl3/gcc/lib/libgcc/libgcov/arch/aarch64 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/aarch64eb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/alpha [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earm [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhf [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhfeb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6eb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6hf [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6hfeb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7eb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7hf [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7hfeb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/hppa [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/i386 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/ia64 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/m68k [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/mips64eb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/mips64el [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/mipseb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/mipsel [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/mipsn64eb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/mipsn64el [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/riscv32 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/riscv64 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sh3eb [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sh3el [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sparc [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/sparc64 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/vax [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgcc/libgcov/arch/x86_64 [netbsd-10]: gcov-iov.h src/external/gpl3/gcc/lib/libgomp/arch/aarch64 [netbsd-10]: config.h src/external/gpl3/gcc/lib/libgomp/arch/aarch64eb [netbsd-10]: config.h src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64 [netbsd-10]: c++config.h gstdint.h symver-config.h src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb [netbsd-10]: c++config.h gstdint.h symver-config.h src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha [netbsd-10]: c++config.h gstdint.h symver-config.h src/external/gpl3/gcc/lib/libstdc++-v3/arch/earm [netbsd-10]: c++config.h gstdint.h symver-config.h src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb [netbsd-10]: c++config.h gstdint.h symver-config.h src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf [netbsd-10]: c++config.h gstdint.h symver-config.h src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhfeb [netbsd-10]: c++config.h gstdint.h symver-config.h src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6 [netbsd-10]: c++config.h gstdint.h symver-config.h src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6eb [netbsd-10]: c++config.h gstdint.h symver-config.h src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hf [netbsd-10]: c++config.h gstdint.h symver-config
CVS commit: [netbsd-10] src/lib/librefuse/refuse
Module Name:src Committed By: martin Date: Fri Jul 14 08:31:27 UTC 2023 Modified Files: src/lib/librefuse/refuse [netbsd-10]: fs.c Log Message: Pull up following revision(s) (requested by pho in ticket #234): lib/librefuse/refuse/fs.c: revision 1.2 refuse(3): Fix broken 3.5, 3.6, and 3.7 APIs These API versions were completely missing from refuse/fs.c. User programs could request these versions and build fine, but they couldn't even initialize a FUSE context at run time. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.1.2.1 src/lib/librefuse/refuse/fs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/lib/librefuse/refuse
Module Name:src Committed By: martin Date: Fri Jul 14 08:31:27 UTC 2023 Modified Files: src/lib/librefuse/refuse [netbsd-10]: fs.c Log Message: Pull up following revision(s) (requested by pho in ticket #234): lib/librefuse/refuse/fs.c: revision 1.2 refuse(3): Fix broken 3.5, 3.6, and 3.7 APIs These API versions were completely missing from refuse/fs.c. User programs could request these versions and build fine, but they couldn't even initialize a FUSE context at run time. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.1.2.1 src/lib/librefuse/refuse/fs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/librefuse/refuse/fs.c diff -u src/lib/librefuse/refuse/fs.c:1.1 src/lib/librefuse/refuse/fs.c:1.1.2.1 --- src/lib/librefuse/refuse/fs.c:1.1 Sat Jan 22 08:09:40 2022 +++ src/lib/librefuse/refuse/fs.c Fri Jul 14 08:31:27 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: fs.c,v 1.1 2022/01/22 08:09:40 pho Exp $ */ +/* $NetBSD: fs.c,v 1.1.2.1 2023/07/14 08:31:27 martin Exp $ */ /* * Copyright (c) 2021 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include #if !defined(lint) -__RCSID("$NetBSD: fs.c,v 1.1 2022/01/22 08:09:40 pho Exp $"); +__RCSID("$NetBSD: fs.c,v 1.1.2.1 2023/07/14 08:31:27 martin Exp $"); #endif /* !lint */ /* @@ -154,6 +154,7 @@ fuse_fs_getattr_v30(struct fuse_fs* fs, return -ENOSYS CALL_GETATTR(30); CALL_GETATTR(34); +CALL_GETATTR(35); CALL_GETATTR(38); #undef CALL_GETATTR default: @@ -190,6 +191,7 @@ fuse_fs_fgetattr(struct fuse_fs* fs, con case 30: case 34: +case 35: case 38: return fuse_fs_getattr_v30(fs, path, buf, fi); default: @@ -231,6 +233,7 @@ fuse_fs_rename_v30(struct fuse_fs* fs, c return -ENOSYS CALL_RENAME(30); CALL_RENAME(34); +CALL_RENAME(35); CALL_RENAME(38); #undef CALL_RENAME default: @@ -258,6 +261,7 @@ fuse_fs_unlink(struct fuse_fs* fs, const CALL_UNLINK(29); CALL_UNLINK(30); CALL_UNLINK(34); +CALL_UNLINK(35); CALL_UNLINK(38); #undef CALL_UNLINK default: @@ -285,6 +289,7 @@ fuse_fs_rmdir(struct fuse_fs* fs, const CALL_RMDIR(29); CALL_RMDIR(30); CALL_RMDIR(34); +CALL_RMDIR(35); CALL_RMDIR(38); #undef CALL_RMDIR default: @@ -312,6 +317,7 @@ fuse_fs_symlink(struct fuse_fs* fs, cons CALL_SYMLINK(29); CALL_SYMLINK(30); CALL_SYMLINK(34); +CALL_SYMLINK(35); CALL_SYMLINK(38); #undef CALL_SYMLINK default: @@ -339,6 +345,7 @@ fuse_fs_link(struct fuse_fs* fs, const c CALL_LINK(29); CALL_LINK(30); CALL_LINK(34); +CALL_LINK(35); CALL_LINK(38); #undef CALL_LINK default: @@ -374,6 +381,7 @@ fuse_fs_release(struct fuse_fs* fs, cons CALL_RELEASE(29); CALL_RELEASE(30); CALL_RELEASE(34); +CALL_RELEASE(35); CALL_RELEASE(38); #undef CALL_RELEASE default: @@ -409,6 +417,7 @@ fuse_fs_open(struct fuse_fs* fs, const c CALL_OPEN(29); CALL_OPEN(30); CALL_OPEN(34); +CALL_OPEN(35); CALL_OPEN(38); #undef CALL_OPEN default: @@ -445,6 +454,7 @@ fuse_fs_read(struct fuse_fs* fs, const c CALL_READ(29); CALL_READ(30); CALL_READ(34); +CALL_READ(35); CALL_READ(38); #undef CALL_READ default: @@ -476,6 +486,7 @@ fuse_fs_read_buf(struct fuse_fs* fs, con CALL_READ_BUF(29); CALL_READ_BUF(30); CALL_READ_BUF(34); +CALL_READ_BUF(35); CALL_READ_BUF(38); #undef CALL_READ_BUF default: @@ -512,6 +523,7 @@ fuse_fs_write(struct fuse_fs* fs, const CALL_WRITE(29); CALL_WRITE(30); CALL_WRITE(34); +CALL_WRITE(35); CALL_WRITE(38); #undef CALL_WRITE default: @@ -543,6 +555,7 @@ fuse_fs_write_buf(struct fuse_fs* fs, co CALL_WRITE_BUF(29); CALL_WRITE_BUF(30); CALL_WRITE_BUF(34); +CALL_WRITE_BUF(35); CALL_WRITE_BUF(38); #undef CALL_WRITE_BUF default: @@ -578,6 +591,7 @@ fuse_fs_fsync(struct fuse_fs* fs, const CALL_FSYNC(29); CALL_FSYNC(30); CALL_FSYNC(34); +CALL_FSYNC(35); CALL_FSYNC(38); #undef CALL_FSYNC default: @@ -613,6 +627,7 @@ fuse_fs_flush(struct fuse_fs* fs, const CALL_FLUSH(29); CALL_FLUSH(30); CALL_FLUSH(34); +CALL_FLUSH(35); CALL_FLUSH(38); #undef CALL_FLUSH default: @@ -706,6 +721,7 @@ fuse_fs_statfs(struct fuse_fs* fs, const CALL_STATFS(29); CALL_STATFS(30); CALL_STATFS(34); +CALL_STATFS(35); CALL_STATFS(38); #undef CALL_STATFS default: @@ -737,6 +753,7 @@ fuse_fs_opendir(struct fuse_fs* fs, cons
CVS commit: [netbsd-10] src/external/bsd/jemalloc/lib
Module Name:src Committed By: martin Date: Fri Jul 14 08:33:25 UTC 2023 Modified Files: src/external/bsd/jemalloc/lib [netbsd-10]: Makefile Log Message: Pull up following revision(s) (requested by mrg in ticket #235): external/bsd/jemalloc/lib/Makefile: revision 1.4 this is not needed (or wanted) for jemalloc 1.0, so make it empty. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.12.1 src/external/bsd/jemalloc/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/external/bsd/jemalloc/lib
Module Name:src Committed By: martin Date: Fri Jul 14 08:33:25 UTC 2023 Modified Files: src/external/bsd/jemalloc/lib [netbsd-10]: Makefile Log Message: Pull up following revision(s) (requested by mrg in ticket #235): external/bsd/jemalloc/lib/Makefile: revision 1.4 this is not needed (or wanted) for jemalloc 1.0, so make it empty. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.12.1 src/external/bsd/jemalloc/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/jemalloc/lib/Makefile diff -u src/external/bsd/jemalloc/lib/Makefile:1.3 src/external/bsd/jemalloc/lib/Makefile:1.3.12.1 --- src/external/bsd/jemalloc/lib/Makefile:1.3 Tue Mar 12 15:13:25 2019 +++ src/external/bsd/jemalloc/lib/Makefile Fri Jul 14 08:33:25 2023 @@ -1,10 +1,13 @@ -# $NetBSD: Makefile,v 1.3 2019/03/12 15:13:25 christos Exp $ +# $NetBSD: Makefile,v 1.3.12.1 2023/07/14 08:33:25 martin Exp $ WARNS?= 5 .include LIB=jemalloc +# The symbols from the stub only exist in newer jemalloc. +.if ${HAVE_JEMALLOC:U0} != 100 SRCS=jemalloc_stub.c +.endif .include
CVS commit: [netbsd-10] src/doc
Module Name:src Committed By: martin Date: Fri Jul 14 08:34:20 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Tickets #233 - #235 To generate a diff of this commit: cvs rdiff -u -r1.1.2.81 -r1.1.2.82 src/doc/CHANGES-10.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/doc
Module Name:src Committed By: martin Date: Fri Jul 14 08:34:20 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Tickets #233 - #235 To generate a diff of this commit: cvs rdiff -u -r1.1.2.81 -r1.1.2.82 src/doc/CHANGES-10.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES-10.0 diff -u src/doc/CHANGES-10.0:1.1.2.81 src/doc/CHANGES-10.0:1.1.2.82 --- src/doc/CHANGES-10.0:1.1.2.81 Thu Jul 13 09:36:48 2023 +++ src/doc/CHANGES-10.0 Fri Jul 14 08:34:20 2023 @@ -1,4 +1,4 @@ -# $NetBSD: CHANGES-10.0,v 1.1.2.81 2023/07/13 09:36:48 martin Exp $ +# $NetBSD: CHANGES-10.0,v 1.1.2.82 2023/07/14 08:34:20 martin Exp $ A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16 until the 10.0 release: @@ -2695,3 +2695,308 @@ external/gpl3/gcc/usr.bin/Makefile.inc Do not force gnu++98 standard when building gcc. [mrg, ticket #232] +external/gpl3/gcc/lib/libgcc/libgcov/arch/aarch64/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/aarch64eb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/alpha/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earm/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhf/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhfeb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6eb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6hf/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6hfeb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7eb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7hf/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7hfeb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/hppa/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/i386/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/ia64/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/m68000/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/m68k/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/mips64eb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/mips64el/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/mipseb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/mipsel/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/mipsn64eb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/mipsn64el/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/riscv32/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/riscv64/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/sh3eb/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/sh3el/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/sparc/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/sparc64/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/vax/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgcc/libgcov/arch/x86_64/gcov-iov.h (patch) +external/gpl3/gcc/lib/libgomp/arch/aarch64/config.h (patch) +external/gpl3/gcc/lib/libgomp/arch/aarch64eb/config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/c++config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/gstdint.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/symver-config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/c++config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/gstdint.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/symver-config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/c++config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/gstdint.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/symver-config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/earm/c++config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/earm/gstdint.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/earm/symver-config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/c++config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/gstdint.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/symver-config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/c++config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/gstdint.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/symver-config.h (patch) +external/gpl3/gcc/lib/libstdc++-v3/arch/earmhfeb/c++config.h (
CVS commit: src
Module Name:src Committed By: rillig Date: Fri Jul 14 08:53:52 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c expr_binary.c msg_247.c msg_353.c src/usr.bin/xlint/lint1: lint1.h tree.c Log Message: lint: clean up comments, add a test for the '?:' operator To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/c23.c cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/xlint/lint1/expr_binary.c cvs rdiff -u -r1.31 -r1.32 src/tests/usr.bin/xlint/lint1/msg_247.c cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_353.c cvs rdiff -u -r1.192 -r1.193 src/usr.bin/xlint/lint1/lint1.h cvs rdiff -u -r1.563 -r1.564 src/usr.bin/xlint/lint1/tree.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/usr.bin/xlint/lint1/c23.c diff -u src/tests/usr.bin/xlint/lint1/c23.c:1.2 src/tests/usr.bin/xlint/lint1/c23.c:1.3 --- src/tests/usr.bin/xlint/lint1/c23.c:1.2 Thu Jul 13 20:30:21 2023 +++ src/tests/usr.bin/xlint/lint1/c23.c Fri Jul 14 08:53:52 2023 @@ -1,16 +1,16 @@ -/* $NetBSD: c23.c,v 1.2 2023/07/13 20:30:21 rillig Exp $ */ +/* $NetBSD: c23.c,v 1.3 2023/07/14 08:53:52 rillig Exp $ */ # 3 "c23.c" // Tests for the option -Ac23, which allows features from C23 and all earlier // ISO standards, but none of the GNU extensions. // // See also: -// msg_353.c +// msg_353.c for empty initializer braces /* lint1-flags: -Ac23 -w -X 351 */ int -c23(void) +empty_initializer_braces(void) { struct s { int member; @@ -25,8 +25,7 @@ c23(void) // The keyword 'thread_local' was introduced in C23. thread_local int globally_visible; -// Thread-local functions don't make sense; they are syntactically allowed, -// though. +// Thread-local functions don't make sense; lint allows them, though. thread_local void thread_local_function(void) { Index: src/tests/usr.bin/xlint/lint1/expr_binary.c diff -u src/tests/usr.bin/xlint/lint1/expr_binary.c:1.7 src/tests/usr.bin/xlint/lint1/expr_binary.c:1.8 --- src/tests/usr.bin/xlint/lint1/expr_binary.c:1.7 Tue Mar 28 14:44:34 2023 +++ src/tests/usr.bin/xlint/lint1/expr_binary.c Fri Jul 14 08:53:52 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: expr_binary.c,v 1.7 2023/03/28 14:44:34 rillig Exp $ */ +/* $NetBSD: expr_binary.c,v 1.8 2023/07/14 08:53:52 rillig Exp $ */ # 3 "expr_binary.c" /* @@ -128,3 +128,38 @@ cover_balance(void) /* expect+1: ... '__uint128_t' ... */ sink((__int128_t)1 + (__uint128_t)1); } + +struct point { + int x, y; +}; + +static struct point +returning_struct(void) +{ + return (struct point){ 0, 0 }; +} + +static void +returning_void(void) +{ +} + +static inline void +op_colon(_Bool cond) +{ + // FIXME: GCC doesn't warn, as the 'type mismatch' is not wrong. + /* expect+1: warning: incompatible types 'struct point' and 'void' in conditional [126] */ + cond ? returning_struct() : returning_void(); + + // TODO: Test the other combinations as well. + // | | void | bool | arith | sou | int | flt | ptr | nullptr | + // |-|--|--|---|-|-|-|-|-| + // | void| ok | | | | | | | | + // | bool| | ok | | | | | | | + // | arith | | | ok| | | | | | + // | sou | | | | ok | | | | | + // | int | | | | | | | ok | | + // | flt | | | | | | | | | + // | ptr | | | | | ok | | | ok | + // | nullptr | | | | | | | ok | | +} Index: src/tests/usr.bin/xlint/lint1/msg_247.c diff -u src/tests/usr.bin/xlint/lint1/msg_247.c:1.31 src/tests/usr.bin/xlint/lint1/msg_247.c:1.32 --- src/tests/usr.bin/xlint/lint1/msg_247.c:1.31 Fri Jul 7 06:03:31 2023 +++ src/tests/usr.bin/xlint/lint1/msg_247.c Fri Jul 14 08:53:52 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: msg_247.c,v 1.31 2023/07/07 06:03:31 rillig Exp $ */ +/* $NetBSD: msg_247.c,v 1.32 2023/07/14 08:53:52 rillig Exp $ */ # 3 "msg_247.c" // Test for message: pointer cast from '%s' to '%s' may be troublesome [247] @@ -59,7 +59,7 @@ cast_to_char_pointer(struct Other *arg) } /* - * In traditional C there was 'unsigned char' as well, so the same reasoning + * In traditional C, there was 'unsigned char' as well, so the same reasoning * as for plain 'char' applies here. */ unsigned char * Index: src/tests/usr.bin/xlint/lint1/msg_353.c diff -u src/tests/usr.bin/xlint/lint1/msg_353.c:1.3 src/tests/usr.bin/xlint/lint1/msg_353.c:1.4 --- src/tests/usr.bin/xlint/lint1/msg_353.c:1.3 Fri Jul 7 19:45:22 2023 +++ src/tests/usr.bin/xlint/lint1/msg_353.c Fri Jul 14 08:53:52 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: msg_353.c,v 1.3 2023/07/07 19:45:22 rillig Exp $ */ +/* $NetBSD: msg_353.c,v 1.4 2023/07/14 08:53:52 rillig Exp $ */ # 3 "m
CVS commit: src
Module Name:src Committed By: rillig Date: Fri Jul 14 08:53:52 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c expr_binary.c msg_247.c msg_353.c src/usr.bin/xlint/lint1: lint1.h tree.c Log Message: lint: clean up comments, add a test for the '?:' operator To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/c23.c cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/xlint/lint1/expr_binary.c cvs rdiff -u -r1.31 -r1.32 src/tests/usr.bin/xlint/lint1/msg_247.c cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_353.c cvs rdiff -u -r1.192 -r1.193 src/usr.bin/xlint/lint1/lint1.h cvs rdiff -u -r1.563 -r1.564 src/usr.bin/xlint/lint1/tree.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: rillig Date: Fri Jul 14 09:03:37 UTC 2023 Modified Files: src/share/man/man9: versioningsyscalls.9 Log Message: versioningsyscalls.9: fix typo To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/man/man9/versioningsyscalls.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: rillig Date: Fri Jul 14 09:03:37 UTC 2023 Modified Files: src/share/man/man9: versioningsyscalls.9 Log Message: versioningsyscalls.9: fix typo To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/man/man9/versioningsyscalls.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man9/versioningsyscalls.9 diff -u src/share/man/man9/versioningsyscalls.9:1.4 src/share/man/man9/versioningsyscalls.9:1.5 --- src/share/man/man9/versioningsyscalls.9:1.4 Mon Jul 10 23:55:13 2023 +++ src/share/man/man9/versioningsyscalls.9 Fri Jul 14 09:03:37 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: versioningsyscalls.9,v 1.4 2023/07/10 23:55:13 uwe Exp $ +.\" $NetBSD: versioningsyscalls.9,v 1.5 2023/07/14 09:03:37 rillig Exp $ .\" .\" Copyright (c) 2023 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -277,7 +277,7 @@ my_file_XYZ_fini(void) .Pp Finally, .Pa sys/compat/common/compat_XYZ_mod.c -needs to be be modified to have its +needs to be modified to have its .Fn compat_XYZ_init and .Fn compat_XYZ_fini
CVS commit: src/usr.bin/xlint/lint1
Module Name:src Committed By: rillig Date: Fri Jul 14 09:04:08 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: rename function for creating a new expression node To generate a diff of this commit: cvs rdiff -u -r1.564 -r1.565 src/usr.bin/xlint/lint1/tree.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/xlint/lint1
Module Name:src Committed By: rillig Date: Fri Jul 14 09:04:08 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: rename function for creating a new expression node To generate a diff of this commit: cvs rdiff -u -r1.564 -r1.565 src/usr.bin/xlint/lint1/tree.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/xlint/lint1/tree.c diff -u src/usr.bin/xlint/lint1/tree.c:1.564 src/usr.bin/xlint/lint1/tree.c:1.565 --- src/usr.bin/xlint/lint1/tree.c:1.564 Fri Jul 14 08:53:52 2023 +++ src/usr.bin/xlint/lint1/tree.c Fri Jul 14 09:04:08 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: tree.c,v 1.564 2023/07/14 08:53:52 rillig Exp $ */ +/* $NetBSD: tree.c,v 1.565 2023/07/14 09:04:08 rillig Exp $ */ /* * Copyright (c) 1994, 1995 Jochen Pohl @@ -37,7 +37,7 @@ #include #if defined(__RCSID) -__RCSID("$NetBSD: tree.c,v 1.564 2023/07/14 08:53:52 rillig Exp $"); +__RCSID("$NetBSD: tree.c,v 1.565 2023/07/14 09:04:08 rillig Exp $"); #endif #include @@ -345,7 +345,7 @@ expr_derive_type(type_t *tp, tspec_t t) /* Create an expression from a unary or binary operator and its operands. */ static tnode_t * -new_tnode(op_t op, bool sys, type_t *type, tnode_t *ln, tnode_t *rn) +build_op(op_t op, bool sys, type_t *type, tnode_t *ln, tnode_t *rn) { tnode_t *ntn = expr_alloc_tnode(); @@ -774,7 +774,7 @@ build_address(bool sys, tnode_t *tn, boo return tn->tn_left; } - return new_tnode(ADDR, sys, expr_derive_type(tn->tn_type, PTR), + return build_op(ADDR, sys, expr_derive_type(tn->tn_type, PTR), tn, NULL); } @@ -955,14 +955,14 @@ build_struct_access(op_t op, bool sys, t rn->tn_sym->u.s_member.sm_offset_in_bits / CHAR_SIZE); type_t *ptr_tp = expr_derive_type(rn->tn_type, PTR); - tnode_t *ntn = new_tnode(PLUS, sys, ptr_tp, ln, ctn); + tnode_t *ntn = build_op(PLUS, sys, ptr_tp, ln, ctn); if (ln->tn_op == CON) ntn = fold(ntn); if (rn->tn_type->t_bitfield) { - ntn = new_tnode(FSEL, sys, ntn->tn_type->t_subt, ntn, NULL); + ntn = build_op(FSEL, sys, ntn->tn_type->t_subt, ntn, NULL); } else { - ntn = new_tnode(INDIR, sys, ntn->tn_type->t_subt, ntn, NULL); + ntn = build_op(INDIR, sys, ntn->tn_type->t_subt, ntn, NULL); } if (nolval) @@ -1043,7 +1043,7 @@ build_prepost_incdec(op_t op, bool sys, tnode_t *cn = ln->tn_type->t_tspec == PTR ? subt_size_in_bytes(ln->tn_type) : build_integer_constant(INT, 1); - return new_tnode(op, sys, ln->tn_type, ln, cn); + return build_op(op, sys, ln->tn_type, ln, cn); } static void @@ -1121,11 +1121,11 @@ build_plus_minus(op_t op, bool sys, tnod if (rn->tn_type->t_tspec != elsz->tn_type->t_tspec) rn = convert(NOOP, 0, elsz->tn_type, rn); - tnode_t *prod = new_tnode(MULT, sys, rn->tn_type, rn, elsz); + tnode_t *prod = build_op(MULT, sys, rn->tn_type, rn, elsz); if (rn->tn_op == CON) prod = fold(prod); - return new_tnode(op, sys, ln->tn_type, ln, prod); + return build_op(op, sys, ln->tn_type, ln, prod); } /* pointer - pointer */ @@ -1134,17 +1134,17 @@ build_plus_minus(op_t op, bool sys, tnod lint_assert(op == MINUS); type_t *ptrdiff = gettyp(PTRDIFF_TSPEC); - tnode_t *raw_diff = new_tnode(op, sys, ptrdiff, ln, rn); + tnode_t *raw_diff = build_op(op, sys, ptrdiff, ln, rn); if (ln->tn_op == CON && rn->tn_op == CON) raw_diff = fold(raw_diff); tnode_t *elsz = subt_size_in_bytes(ln->tn_type); balance(NOOP, &raw_diff, &elsz); - return new_tnode(DIV, sys, ptrdiff, raw_diff, elsz); + return build_op(DIV, sys, ptrdiff, raw_diff, elsz); } - return new_tnode(op, sys, ln->tn_type, ln, rn); + return build_op(op, sys, ln->tn_type, ln, rn); } /* @@ -1159,7 +1159,7 @@ build_bit_shift(op_t op, bool sys, tnode // arithmetic conversions on their operands." // TODO: Add a test to exercise this part of the code. rn = convert(NOOP, 0, gettyp(INT), rn); - return new_tnode(op, sys, ln->tn_type, ln, rn); + return build_op(op, sys, ln->tn_type, ln, rn); } static bool @@ -1252,7 +1252,7 @@ build_colon(bool sys, tnode_t *ln, tnode tp = merge_qualifiers(ln->tn_type, rn->tn_type); } - return new_tnode(COLON, sys, tp, ln, rn); + return build_op(COLON, sys, tp, ln, rn); } /* TODO: check for varargs */ @@ -1332,7 +1332,7 @@ build_assignment(op_t op, bool sys, tnod tnode_t *ctn = subt_size_in_bytes(ln->tn_type); if (rn->tn_type->t_tspec != ctn->tn_type->t_tspec) rn = convert(NOOP, 0, ctn->tn_type, rn); - rn = new_tnode(MULT, sys, rn->tn_type, rn, ctn); + rn = build_op(MULT, sys, rn->tn_type, rn, ctn); if (rn->tn_left->tn_op == CON) rn = fold(rn); } @@ -1373,7 +1373,7 @@ build_assignment(op_t op, bool sys, tnod type_name(rn->tn_left->tn_type), type_name(rn->tn_type)); } - return new_tnode(op, sys, ln->tn_type, ln, rn); + return build_op(op, sys, ln->tn_type, ln, rn); } /* @@ -1411,7 +1411,7 @@ build_real_imag(
CVS commit: src/usr.bin/xlint/lint1
Module Name:src Committed By: rillig Date: Fri Jul 14 09:20:23 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c tree.c Log Message: lint: clean up redundant and verbose code To generate a diff of this commit: cvs rdiff -u -r1.355 -r1.356 src/usr.bin/xlint/lint1/decl.c cvs rdiff -u -r1.565 -r1.566 src/usr.bin/xlint/lint1/tree.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/xlint/lint1
Module Name:src Committed By: rillig Date: Fri Jul 14 09:20:23 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c tree.c Log Message: lint: clean up redundant and verbose code To generate a diff of this commit: cvs rdiff -u -r1.355 -r1.356 src/usr.bin/xlint/lint1/decl.c cvs rdiff -u -r1.565 -r1.566 src/usr.bin/xlint/lint1/tree.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/xlint/lint1/decl.c diff -u src/usr.bin/xlint/lint1/decl.c:1.355 src/usr.bin/xlint/lint1/decl.c:1.356 --- src/usr.bin/xlint/lint1/decl.c:1.355 Thu Jul 13 23:27:20 2023 +++ src/usr.bin/xlint/lint1/decl.c Fri Jul 14 09:20:23 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: decl.c,v 1.355 2023/07/13 23:27:20 rillig Exp $ */ +/* $NetBSD: decl.c,v 1.356 2023/07/14 09:20:23 rillig Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved. @@ -38,7 +38,7 @@ #include #if defined(__RCSID) -__RCSID("$NetBSD: decl.c,v 1.355 2023/07/13 23:27:20 rillig Exp $"); +__RCSID("$NetBSD: decl.c,v 1.356 2023/07/14 09:20:23 rillig Exp $"); #endif #include @@ -104,7 +104,6 @@ initdecl(void) ttab[i].tt_rank_value = ttab[i].tt_size_in_bits; } - ttab[BOOL].tt_rank_kind = RK_INTEGER; ttab[BOOL].tt_rank_value = 1; } @@ -607,7 +606,7 @@ void dcs_begin_type(void) { - debug_step("%s", __func__); + debug_enter(); dcs->d_abstract_type = NO_TSPEC; dcs->d_complex_mod = NO_TSPEC; dcs->d_sign_mod = NO_TSPEC; @@ -711,7 +710,6 @@ void dcs_end_type(void) { - debug_step("%s", __func__); dcs_merge_declaration_specifiers(); if (dcs->d_multiple_storage_classes) { @@ -743,6 +741,8 @@ dcs_end_type(void) dcs->d_type->t_const |= dcs->d_qual.tq_const; dcs->d_type->t_volatile |= dcs->d_qual.tq_volatile; } + + debug_leave(); } /* @@ -1148,10 +1148,10 @@ add_type_qualifiers(type_qualifiers *dst /* duplicate '%s' */ warning(10, "volatile"); - dst->tq_const = dst->tq_const || src.tq_const; - dst->tq_restrict = dst->tq_restrict || src.tq_restrict; - dst->tq_volatile = dst->tq_volatile || src.tq_volatile; - dst->tq_atomic = dst->tq_atomic || src.tq_atomic; + dst->tq_const = dst->tq_const | src.tq_const; + dst->tq_restrict = dst->tq_restrict | src.tq_restrict; + dst->tq_volatile = dst->tq_volatile | src.tq_volatile; + dst->tq_atomic = dst->tq_atomic | src.tq_atomic; } qual_ptr * Index: src/usr.bin/xlint/lint1/tree.c diff -u src/usr.bin/xlint/lint1/tree.c:1.565 src/usr.bin/xlint/lint1/tree.c:1.566 --- src/usr.bin/xlint/lint1/tree.c:1.565 Fri Jul 14 09:04:08 2023 +++ src/usr.bin/xlint/lint1/tree.c Fri Jul 14 09:20:23 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: tree.c,v 1.565 2023/07/14 09:04:08 rillig Exp $ */ +/* $NetBSD: tree.c,v 1.566 2023/07/14 09:20:23 rillig Exp $ */ /* * Copyright (c) 1994, 1995 Jochen Pohl @@ -37,7 +37,7 @@ #include #if defined(__RCSID) -__RCSID("$NetBSD: tree.c,v 1.565 2023/07/14 09:04:08 rillig Exp $"); +__RCSID("$NetBSD: tree.c,v 1.566 2023/07/14 09:20:23 rillig Exp $"); #endif #include @@ -358,8 +358,7 @@ build_op(op_t op, bool sys, type_t *type if (op == INDIR || op == FSEL) { lint_assert(ln->tn_type->t_tspec == PTR); tspec_t t = ln->tn_type->t_subt->t_tspec; - if (t != FUNC && t != VOID) - ntn->tn_lvalue = true; + ntn->tn_lvalue = t != FUNC && t != VOID; } return ntn; @@ -937,11 +936,7 @@ build_struct_access(op_t op, bool sys, t lint_assert(rn->tn_op == NAME); lint_assert(is_member(rn->tn_sym)); - /* - * Remember if the left operand is an lvalue (structure members - * are lvalues if and only if the structure itself is an lvalue). - */ - bool nolval = op == POINT && !ln->tn_lvalue; + bool lvalue = op == ARROW || ln->tn_lvalue; if (op == POINT) { ln = build_address(sys, ln, true); @@ -959,13 +954,9 @@ build_struct_access(op_t op, bool sys, t if (ln->tn_op == CON) ntn = fold(ntn); - if (rn->tn_type->t_bitfield) { - ntn = build_op(FSEL, sys, ntn->tn_type->t_subt, ntn, NULL); - } else { - ntn = build_op(INDIR, sys, ntn->tn_type->t_subt, ntn, NULL); - } - - if (nolval) + op_t nop = rn->tn_type->t_bitfield ? FSEL : INDIR; + ntn = build_op(nop, sys, ntn->tn_type->t_subt, ntn, NULL); + if (!lvalue) ntn->tn_lvalue = false; return ntn;
CVS commit: src/usr.bin/xlint/lint1
Module Name:src Committed By: rillig Date: Fri Jul 14 09:32:42 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: document which keywords are available in which language levels To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/usr.bin/xlint/lint1/lex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/xlint/lint1/lex.c diff -u src/usr.bin/xlint/lint1/lex.c:1.185 src/usr.bin/xlint/lint1/lex.c:1.186 --- src/usr.bin/xlint/lint1/lex.c:1.185 Thu Jul 13 23:11:11 2023 +++ src/usr.bin/xlint/lint1/lex.c Fri Jul 14 09:32:42 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: lex.c,v 1.185 2023/07/13 23:11:11 rillig Exp $ */ +/* $NetBSD: lex.c,v 1.186 2023/07/14 09:32:42 rillig Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved. @@ -38,7 +38,7 @@ #include #if defined(__RCSID) -__RCSID("$NetBSD: lex.c,v 1.185 2023/07/13 23:11:11 rillig Exp $"); +__RCSID("$NetBSD: lex.c,v 1.186 2023/07/14 09:32:42 rillig Exp $"); #endif #include @@ -119,8 +119,11 @@ static const struct keyword { bool kw_leading:1; /* '__name' */ bool kw_both:1; /* '__name__' */ } keywords[] = { + // TODO: _Alignas is not available in C99. kwdef_keyword( "_Alignas", T_ALIGNAS), + // TODO: _Alignof is not available in C99. kwdef_keyword( "_Alignof", T_ALIGNOF), + // TODO: alignof is not available in C99. kwdef_token( "alignof", T_ALIGNOF, 78,0,6), kwdef_token( "asm", T_ASM, 78,1,7), kwdef_token( "_Atomic", T_ATOMIC, 11,0,1), @@ -138,6 +141,7 @@ static const struct keyword { kwdef_keyword( "do", T_DO), kwdef_type( "double", DOUBLE, 78), kwdef_keyword( "else", T_ELSE), + // XXX: enum is not available in traditional C. kwdef_keyword( "enum", T_ENUM), kwdef_token( "__extension__",T_EXTENSION, 78,1,1), kwdef_sclass( "extern", EXTERN, 78,0,1), @@ -154,6 +158,7 @@ static const struct keyword { #endif kwdef_type( "long", LONG, 78), kwdef("_Noreturn", T_FUNCTION_SPECIFIER, .u.kw_fs = FS_NORETURN, 11,0,1), + // XXX: __packed is GCC-specific. kwdef_token( "__packed", T_PACKED, 78,0,1), kwdef_token( "__real__", T_REAL, 78,1,1), kwdef_sclass( "register", REG, 78,0,1), @@ -163,6 +168,7 @@ static const struct keyword { kwdef( "signed", T_TYPE, .u.kw_tspec = SIGNED, 90,0,3), kwdef_keyword( "sizeof", T_SIZEOF), kwdef_sclass( "static", STATIC, 78,0,1), + // XXX: _Static_assert was added in C11. kwdef_keyword( "_Static_assert", T_STATIC_ASSERT), kwdef("struct", T_STRUCT_OR_UNION, .u.kw_tspec = STRUCT, 78,0,1), kwdef_keyword( "switch", T_SWITCH), @@ -177,6 +183,7 @@ static const struct keyword { #endif kwdef("union", T_STRUCT_OR_UNION, .u.kw_tspec = UNION, 78,0,1), kwdef_type( "unsigned", UNSIGN, 78), + // XXX: void is not available in traditional C. kwdef_type( "void", VOID, 78), kwdef_tqual( "volatile", tq_volatile, 90,0,7), kwdef_keyword( "while", T_WHILE),
CVS commit: src/usr.bin/xlint/lint1
Module Name:src Committed By: rillig Date: Fri Jul 14 09:32:42 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: document which keywords are available in which language levels To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/usr.bin/xlint/lint1/lex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/evbarm/g42xxeb
Module Name:src Committed By: riastradh Date: Fri Jul 14 12:57:10 UTC 2023 Modified Files: src/sys/arch/evbarm/g42xxeb: obio.c Log Message: evbarm/g42xxeb: Fix off-by-one in previous. The original find_first_bit(x) was 31 - __builtin_clz((uint32_t)x), which is equivalent to fls32(x) - 1, not to fls32(x). Note that fls32 is 1-based and returns 0 for x=0. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/g42xxeb/obio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/evbarm/g42xxeb/obio.c diff -u src/sys/arch/evbarm/g42xxeb/obio.c:1.15 src/sys/arch/evbarm/g42xxeb/obio.c:1.16 --- src/sys/arch/evbarm/g42xxeb/obio.c:1.15 Thu Jul 13 20:22:29 2023 +++ src/sys/arch/evbarm/g42xxeb/obio.c Fri Jul 14 12:57:10 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: obio.c,v 1.15 2023/07/13 20:22:29 mrg Exp $ */ +/* $NetBSD: obio.c,v 1.16 2023/07/14 12:57:10 riastradh Exp $ */ /* * Copyright (c) 2002, 2003, 2005 Genetec corp. All rights reserved. @@ -156,7 +156,7 @@ obio_softint(void *arg) int psw; psw = disable_interrupts(I32_bit); - while ((irqno = fls32(sc->sc_intr_pending)) >= 0) { + while ((irqno = fls32(sc->sc_intr_pending) - 1) >= 0) { sc->sc_intr_pending &= ~(1U<
CVS commit: src/sys/arch/evbarm/g42xxeb
Module Name:src Committed By: riastradh Date: Fri Jul 14 12:57:10 UTC 2023 Modified Files: src/sys/arch/evbarm/g42xxeb: obio.c Log Message: evbarm/g42xxeb: Fix off-by-one in previous. The original find_first_bit(x) was 31 - __builtin_clz((uint32_t)x), which is equivalent to fls32(x) - 1, not to fls32(x). Note that fls32 is 1-based and returns 0 for x=0. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/g42xxeb/obio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: riastradh Date: Fri Jul 14 13:05:59 UTC 2023 Modified Files: src/sys/external/bsd/drm2/amdgpu: files.amdgpu src/sys/modules/amdgpu: Makefile Log Message: amdgpu: Define CONFIG_DRM_AMD_DC to enable display core logic. Probably resolves a host of issues with amdgpu not detecting displays! Noticed by rjs@. PR kern/57059 PR kern/57325 PR kern/57452 XXX pullup-10 To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/external/bsd/drm2/amdgpu/files.amdgpu cvs rdiff -u -r1.5 -r1.6 src/sys/modules/amdgpu/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/external/bsd/drm2/amdgpu/files.amdgpu diff -u src/sys/external/bsd/drm2/amdgpu/files.amdgpu:1.29 src/sys/external/bsd/drm2/amdgpu/files.amdgpu:1.30 --- src/sys/external/bsd/drm2/amdgpu/files.amdgpu:1.29 Sun Jul 24 20:05:00 2022 +++ src/sys/external/bsd/drm2/amdgpu/files.amdgpu Fri Jul 14 13:05:59 2023 @@ -1,4 +1,4 @@ -# $NetBSD: files.amdgpu,v 1.29 2022/07/24 20:05:00 riastradh Exp $ +# $NetBSD: files.amdgpu,v 1.30 2023/07/14 13:05:59 riastradh Exp $ version 20180827 @@ -33,6 +33,7 @@ makeoptions amdgpu "CPPFLAGS.amdgpu"+="- makeoptions amdgpu "CPPFLAGS.amdgpu"+="-I$S/external/bsd/drm2/dist/drm/amd/display/dmub/inc" makeoptions amdgpu "CPPFLAGS.amdgpu"+="-DCONFIG_DRM_AMD_ACP=1" +makeoptions amdgpu "CPPFLAGS.amdgpu"+="-DCONFIG_DRM_AMD_DC=1" makeoptions amdgpu "CPPFLAGS.amdgpu"+="-DCONFIG_DRM_AMD_DC_DCN=1" makeoptions amdgpu "CPPFLAGS.amdgpu"+="-DCONFIG_DRM_AMD_DC_HDCP=1" makeoptions amdgpu "CPPFLAGS.amdgpu"+="-DCONFIG_PERF_EVENTS=0" Index: src/sys/modules/amdgpu/Makefile diff -u src/sys/modules/amdgpu/Makefile:1.5 src/sys/modules/amdgpu/Makefile:1.6 --- src/sys/modules/amdgpu/Makefile:1.5 Sat Jul 30 03:29:52 2022 +++ src/sys/modules/amdgpu/Makefile Fri Jul 14 13:05:59 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2022/07/30 03:29:52 tnn Exp $ +# $NetBSD: Makefile,v 1.6 2023/07/14 13:05:59 riastradh Exp $ .include "../Makefile.inc" .include "../drmkms/Makefile.inc" @@ -35,6 +35,7 @@ CPPFLAGS+= -I${S}/external/bsd/drm2/dist CPPFLAGS+= -I${S}/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm CPPFLAGS+= -I${S}/external/bsd/drm2/dist/drm/amd/display/dmub/inc CPPFLAGS+= -DCONFIG_DRM_AMD_ACP=1 +CPPFLAGS+= -DCONFIG_DRM_AMD_DC=1 CPPFLAGS+= -DCONFIG_DRM_AMD_DC_DCN=1 CPPFLAGS+= -DCONFIG_DRM_AMD_DC_HDCP=1 CPPFLAGS+= -DCONFIG_PERF_EVENTS=0
CVS commit: src/sys
Module Name:src Committed By: riastradh Date: Fri Jul 14 13:05:59 UTC 2023 Modified Files: src/sys/external/bsd/drm2/amdgpu: files.amdgpu src/sys/modules/amdgpu: Makefile Log Message: amdgpu: Define CONFIG_DRM_AMD_DC to enable display core logic. Probably resolves a host of issues with amdgpu not detecting displays! Noticed by rjs@. PR kern/57059 PR kern/57325 PR kern/57452 XXX pullup-10 To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/external/bsd/drm2/amdgpu/files.amdgpu cvs rdiff -u -r1.5 -r1.6 src/sys/modules/amdgpu/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc.old
Module Name:src Committed By: mrg Date: Fri Jul 14 19:46:45 UTC 2023 Modified Files: src/external/gpl3/gcc.old: README.warnings src/external/gpl3/gcc.old/dist: LAST_UPDATED MD5SUMS NEWS src/external/gpl3/gcc.old/dist/INSTALL: binaries.html build.html configure.html download.html finalinstall.html gfdl.html index.html old.html prerequisites.html specific.html test.html src/external/gpl3/gcc.old/dist/fixincludes: fixincl.x inclhack.def src/external/gpl3/gcc.old/dist/fixincludes/tests/base: stdio.h src/external/gpl3/gcc.old/dist/gcc: BASE-VER DATESTAMP asan.c bb-reorder.c builtins.c cfgbuild.c cgraphclones.c cgraphunit.c config.gcc cse.c expr.c function.c function.h gcc.c generic-match-head.c ifcvt.c ira-color.c loop-invariant.c lto-streamer-in.c lto-wrapper.c match.pd omp-expand.c omp-low.c optabs.c optc-save-gen.awk opts-common.c predict.c ree.c reg-stack.c regrename.c sanopt.c symbol-summary.h tree-inline.c tree-loop-distribution.c tree-nested.c tree-sra.c tree-ssa-ccp.c tree-ssa-dom.c tree-ssa-loop-ivopts.c tree-ssa-reassoc.c tree-ssa-sccvn.c tree-ssa-strlen.c tree-ssa.c tree.c tree.h varasm.c wide-int.cc wide-int.h src/external/gpl3/gcc.old/dist/gcc/c: c-parser.c c-typeck.c src/external/gpl3/gcc.old/dist/gcc/c-family: c-common.c c-ubsan.c src/external/gpl3/gcc.old/dist/gcc/config: darwin.c darwin.h src/external/gpl3/gcc.old/dist/gcc/config/aarch64: aarch64-c.c aarch64-cores.def aarch64-cost-tables.h aarch64-fusion-pairs.def aarch64-protos.h aarch64-simd.md aarch64-tune.md aarch64-tuning-flags.def aarch64.c aarch64.h aarch64.md driver-aarch64.c iterators.md src/external/gpl3/gcc.old/dist/gcc/config/i386: smmintrin.h t-i386 src/external/gpl3/gcc.old/dist/gcc/config/nvptx: nvptx.c nvptx.h nvptx.md src/external/gpl3/gcc.old/dist/gcc/config/pa: pa.md src/external/gpl3/gcc.old/dist/gcc/config/rs6000: altivec.md rs6000-builtin.def rs6000-protos.h rs6000.c rs6000.h rs6000.md rtems.h t-rtems vector.md vsx.md src/external/gpl3/gcc.old/dist/gcc/config/s390: s390.c src/external/gpl3/gcc.old/dist/gcc/config/sparc: sparc.c src/external/gpl3/gcc.old/dist/gcc/cp: constexpr.c cp-gimplify.c cp-tree.h cvt.c decl.c decl2.c expr.c friend.c lambda.c parser.c pt.c semantics.c tree.c typeck.c src/external/gpl3/gcc.old/dist/gcc/doc: cpp.1 cpp.info cppinternals.info cppopts.texi extend.texi fsf-funding.7 g++.1 gcc.1 gcc.info gccinstall.info gccint.info gcov-dump.1 gcov-tool.1 gcov.1 gfdl.7 gfortran.1 gpl.7 invoke.texi src/external/gpl3/gcc.old/dist/libcpp: directives.c src/external/gpl3/gcc.old/dist/libgcc: config.host src/external/gpl3/gcc.old/dist/libgcc/config: t-darwin t-slibgcc-darwin src/external/gpl3/gcc.old/dist/libgcc/config/i386: cpuinfo.c src/external/gpl3/gcc.old/dist/libgomp: libgomp.info libgomp.texi target.c task.c src/external/gpl3/gcc.old/dist/libiberty: strstr.c src/external/gpl3/gcc.old/dist/libsanitizer: configure.tgt src/external/gpl3/gcc.old/dist/libstdc++-v3/config/os/gnu-linux: os_defines.h src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/doxygen: user.cfg.in src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/html: bk02.html src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/html/manual: api.html ext_demangling.html extensions.html index.html src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/xml: authors.xml src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/xml/manual: evolution.xml extensions.xml spine.xml src/external/gpl3/gcc.old/dist/libstdc++-v3/include: Makefile.am Makefile.in src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits: gslice_array.h indirect_array.h list.tcc mask_array.h range_access.h regex.h regex.tcc regex_automaton.h regex_compiler.h regex_compiler.tcc regex_error.h regex_executor.tcc regex_scanner.h regex_scanner.tcc shared_ptr_base.h slice_array.h stl_iterator.h stl_uninitialized.h src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental: numeric optional src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std: memory numeric valarray src/external/gpl3/gcc.old/dist/libstdc++-v3/python/libstdcxx/v6: xmethods.py src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11: thread.cc src/external/gpl3/gcc.old/lib/libgcc/libgcov/arch/aarch64: gcov-iov.h src/external/gpl3/gcc.old/lib/libgcc/libgcov/arch/aarch64eb: gcov-iov.h sr
CVS commit: src/external/gpl3/gcc.old
Module Name:src Committed By: mrg Date: Fri Jul 14 19:46:45 UTC 2023 Modified Files: src/external/gpl3/gcc.old: README.warnings src/external/gpl3/gcc.old/dist: LAST_UPDATED MD5SUMS NEWS src/external/gpl3/gcc.old/dist/INSTALL: binaries.html build.html configure.html download.html finalinstall.html gfdl.html index.html old.html prerequisites.html specific.html test.html src/external/gpl3/gcc.old/dist/fixincludes: fixincl.x inclhack.def src/external/gpl3/gcc.old/dist/fixincludes/tests/base: stdio.h src/external/gpl3/gcc.old/dist/gcc: BASE-VER DATESTAMP asan.c bb-reorder.c builtins.c cfgbuild.c cgraphclones.c cgraphunit.c config.gcc cse.c expr.c function.c function.h gcc.c generic-match-head.c ifcvt.c ira-color.c loop-invariant.c lto-streamer-in.c lto-wrapper.c match.pd omp-expand.c omp-low.c optabs.c optc-save-gen.awk opts-common.c predict.c ree.c reg-stack.c regrename.c sanopt.c symbol-summary.h tree-inline.c tree-loop-distribution.c tree-nested.c tree-sra.c tree-ssa-ccp.c tree-ssa-dom.c tree-ssa-loop-ivopts.c tree-ssa-reassoc.c tree-ssa-sccvn.c tree-ssa-strlen.c tree-ssa.c tree.c tree.h varasm.c wide-int.cc wide-int.h src/external/gpl3/gcc.old/dist/gcc/c: c-parser.c c-typeck.c src/external/gpl3/gcc.old/dist/gcc/c-family: c-common.c c-ubsan.c src/external/gpl3/gcc.old/dist/gcc/config: darwin.c darwin.h src/external/gpl3/gcc.old/dist/gcc/config/aarch64: aarch64-c.c aarch64-cores.def aarch64-cost-tables.h aarch64-fusion-pairs.def aarch64-protos.h aarch64-simd.md aarch64-tune.md aarch64-tuning-flags.def aarch64.c aarch64.h aarch64.md driver-aarch64.c iterators.md src/external/gpl3/gcc.old/dist/gcc/config/i386: smmintrin.h t-i386 src/external/gpl3/gcc.old/dist/gcc/config/nvptx: nvptx.c nvptx.h nvptx.md src/external/gpl3/gcc.old/dist/gcc/config/pa: pa.md src/external/gpl3/gcc.old/dist/gcc/config/rs6000: altivec.md rs6000-builtin.def rs6000-protos.h rs6000.c rs6000.h rs6000.md rtems.h t-rtems vector.md vsx.md src/external/gpl3/gcc.old/dist/gcc/config/s390: s390.c src/external/gpl3/gcc.old/dist/gcc/config/sparc: sparc.c src/external/gpl3/gcc.old/dist/gcc/cp: constexpr.c cp-gimplify.c cp-tree.h cvt.c decl.c decl2.c expr.c friend.c lambda.c parser.c pt.c semantics.c tree.c typeck.c src/external/gpl3/gcc.old/dist/gcc/doc: cpp.1 cpp.info cppinternals.info cppopts.texi extend.texi fsf-funding.7 g++.1 gcc.1 gcc.info gccinstall.info gccint.info gcov-dump.1 gcov-tool.1 gcov.1 gfdl.7 gfortran.1 gpl.7 invoke.texi src/external/gpl3/gcc.old/dist/libcpp: directives.c src/external/gpl3/gcc.old/dist/libgcc: config.host src/external/gpl3/gcc.old/dist/libgcc/config: t-darwin t-slibgcc-darwin src/external/gpl3/gcc.old/dist/libgcc/config/i386: cpuinfo.c src/external/gpl3/gcc.old/dist/libgomp: libgomp.info libgomp.texi target.c task.c src/external/gpl3/gcc.old/dist/libiberty: strstr.c src/external/gpl3/gcc.old/dist/libsanitizer: configure.tgt src/external/gpl3/gcc.old/dist/libstdc++-v3/config/os/gnu-linux: os_defines.h src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/doxygen: user.cfg.in src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/html: bk02.html src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/html/manual: api.html ext_demangling.html extensions.html index.html src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/xml: authors.xml src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/xml/manual: evolution.xml extensions.xml spine.xml src/external/gpl3/gcc.old/dist/libstdc++-v3/include: Makefile.am Makefile.in src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits: gslice_array.h indirect_array.h list.tcc mask_array.h range_access.h regex.h regex.tcc regex_automaton.h regex_compiler.h regex_compiler.tcc regex_error.h regex_executor.tcc regex_scanner.h regex_scanner.tcc shared_ptr_base.h slice_array.h stl_iterator.h stl_uninitialized.h src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental: numeric optional src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std: memory numeric valarray src/external/gpl3/gcc.old/dist/libstdc++-v3/python/libstdcxx/v6: xmethods.py src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11: thread.cc src/external/gpl3/gcc.old/lib/libgcc/libgcov/arch/aarch64: gcov-iov.h src/external/gpl3/gcc.old/lib/libgcc/libgcov/arch/aarch64eb: gcov-iov.h sr
CVS commit: src/sys/rump/share/man
Module Name:src Committed By: lukem Date: Fri Jul 14 23:21:53 UTC 2023 Modified Files: src/sys/rump/share/man/man3: rumpuser.3 src/sys/rump/share/man/man7: rumpkernel.7 Log Message: fix rump URLs in man pages Link to https://github.com/rumpkernel/wiki/wiki instead of a site now taken over by an SEO squatter. Per discussion on github.com/rumpkernel issues with pooka. PR misc/57501 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/rump/share/man/man3/rumpuser.3 cvs rdiff -u -r1.3 -r1.4 src/sys/rump/share/man/man7/rumpkernel.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/share/man
Module Name:src Committed By: lukem Date: Fri Jul 14 23:21:53 UTC 2023 Modified Files: src/sys/rump/share/man/man3: rumpuser.3 src/sys/rump/share/man/man7: rumpkernel.7 Log Message: fix rump URLs in man pages Link to https://github.com/rumpkernel/wiki/wiki instead of a site now taken over by an SEO squatter. Per discussion on github.com/rumpkernel issues with pooka. PR misc/57501 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/rump/share/man/man3/rumpuser.3 cvs rdiff -u -r1.3 -r1.4 src/sys/rump/share/man/man7/rumpkernel.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/rump/share/man/man3/rumpuser.3 diff -u src/sys/rump/share/man/man3/rumpuser.3:1.3 src/sys/rump/share/man/man3/rumpuser.3:1.4 --- src/sys/rump/share/man/man3/rumpuser.3:1.3 Fri Mar 8 08:24:41 2019 +++ src/sys/rump/share/man/man3/rumpuser.3 Fri Jul 14 23:21:53 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: rumpuser.3,v 1.3 2019/03/08 08:24:41 wiz Exp $ +.\" $NetBSD: rumpuser.3,v 1.4 2023/07/14 23:21:53 lukem Exp $ .\" .\" Copyright (c) 2013 Antti Kantee. All rights reserved. .\" @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 24, 2014 +.Dd July 15, 2023 .Dt RUMPUSER 3 .Os .Sh NAME @@ -769,7 +769,7 @@ Routines which do not return an integer For a list of all known implementations of the .Nm interface, see -.Lk http://wiki.rumpkernel.org/Platforms . +.Lk https://github.com/rumpkernel/wiki/wiki/Platforms . .Sh HISTORY The rump kernel hypercall API was first introduced in .Nx 5.0 . Index: src/sys/rump/share/man/man7/rumpkernel.7 diff -u src/sys/rump/share/man/man7/rumpkernel.7:1.3 src/sys/rump/share/man/man7/rumpkernel.7:1.4 --- src/sys/rump/share/man/man7/rumpkernel.7:1.3 Tue Dec 16 15:33:22 2014 +++ src/sys/rump/share/man/man7/rumpkernel.7 Fri Jul 14 23:21:53 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: rumpkernel.7,v 1.3 2014/12/16 15:33:22 pooka Exp $ +.\" $NetBSD: rumpkernel.7,v 1.4 2023/07/14 23:21:53 lukem Exp $ .\" .\" Copyright (c) 2008-2014 Antti Kantee. All rights reserved. .\" @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd December 1, 2014 +.Dd July 15, 2023 .Dt RUMPKERNEL 7 .Os .Sh NAME @@ -88,7 +88,7 @@ allocation fails, the rump kernel will a available by invoking its internal pagedaemon to flush caches. .El .Sh SEE ALSO -.Lk http://rumpkernel.org/ +.Lk https://github.com/rumpkernel/wiki/wiki .Rs .%A Antti Kantee .%A Justin Cormack
CVS commit: src/lib
Module Name:src Committed By: lukem Date: Fri Jul 14 23:28:01 UTC 2023 Modified Files: src/lib/libpthread: Makefile src/lib/librumpuser: configure.ac rumpuser_port.h Log Message: fix rump URLs Link to https://github.com/rumpkernel/ instead of a site now taken over by an SEO squatter. Per discussion on github.com/rumpkernel issues with pooka. PR misc/57501 To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/lib/libpthread/Makefile cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/configure.ac cvs rdiff -u -r1.52 -r1.53 src/lib/librumpuser/rumpuser_port.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib
Module Name:src Committed By: lukem Date: Fri Jul 14 23:28:01 UTC 2023 Modified Files: src/lib/libpthread: Makefile src/lib/librumpuser: configure.ac rumpuser_port.h Log Message: fix rump URLs Link to https://github.com/rumpkernel/ instead of a site now taken over by an SEO squatter. Per discussion on github.com/rumpkernel issues with pooka. PR misc/57501 To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/lib/libpthread/Makefile cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/configure.ac cvs rdiff -u -r1.52 -r1.53 src/lib/librumpuser/rumpuser_port.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libpthread/Makefile diff -u src/lib/libpthread/Makefile:1.96 src/lib/libpthread/Makefile:1.97 --- src/lib/libpthread/Makefile:1.96 Mon Nov 11 22:45:27 2019 +++ src/lib/libpthread/Makefile Fri Jul 14 23:28:01 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.96 2019/11/11 22:45:27 joerg Exp $ +# $NetBSD: Makefile,v 1.97 2023/07/14 23:28:01 lukem Exp $ # NOSANITIZER= # defined @@ -45,7 +45,7 @@ CPPFLAGS+=-I${NETBSDSRCDIR}/sys -I${.CUR # providing alternative MI implementations for creating an lwp is # possible by setting PTHREAD_MAKELWP. Currently, alternatives are -# set by the rumprun software stacks (see repo.rumpkernel.org) +# set by the rumprun software stacks (see https://github.com/rumpkernel/rumprun ) PTHREAD_MAKELWP?= pthread_makelwp_netbsd.c # Index: src/lib/librumpuser/configure.ac diff -u src/lib/librumpuser/configure.ac:1.5 src/lib/librumpuser/configure.ac:1.6 --- src/lib/librumpuser/configure.ac:1.5 Thu Mar 5 00:25:39 2015 +++ src/lib/librumpuser/configure.ac Fri Jul 14 23:28:01 2023 @@ -5,11 +5,11 @@ # 1) autoreconf -iv # 2) edit rumpuser_port.h (search for RUMPUSER_CONFIG for instructions) # 3) rm -rf autom4te.cache -# 4) commit to NetBSD, pullup to repo.rumpkernel.org +# 4) commit to NetBSD, pullup to https://github.com/rumpkernel/ # AC_PREREQ([2.66]) -AC_INIT([rumpuser-posix], [999], [http://rumpkernel.org/]) +AC_INIT([rumpuser-posix], [999], [https://github.com/rumpkernel/]) AC_CONFIG_HEADERS([rumpuser_config.h]) AC_CONFIG_AUX_DIR([build-aux]) Index: src/lib/librumpuser/rumpuser_port.h diff -u src/lib/librumpuser/rumpuser_port.h:1.52 src/lib/librumpuser/rumpuser_port.h:1.53 --- src/lib/librumpuser/rumpuser_port.h:1.52 Tue Apr 19 20:32:17 2022 +++ src/lib/librumpuser/rumpuser_port.h Fri Jul 14 23:28:01 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpuser_port.h,v 1.52 2022/04/19 20:32:17 rillig Exp $ */ +/* $NetBSD: rumpuser_port.h,v 1.53 2023/07/14 23:28:01 lukem Exp $ */ #ifndef _LIB_LIBRUMPUSER_RUMPUSER_PORT_H_ #define _LIB_LIBRUMPUSER_RUMPUSER_PORT_H_ @@ -48,7 +48,7 @@ #define HAVE_UNISTD_H 1 #define HAVE_UTIMENSAT 1 #define HAVE___QUOTACTL 1 -#define PACKAGE_BUGREPORT "http://rumpkernel.org/"; +#define PACKAGE_BUGREPORT "https://github.com/rumpkernel/"; #define PACKAGE_NAME "rumpuser-posix" #define PACKAGE_STRING "rumpuser-posix 999" #define PACKAGE_TARNAME "rumpuser-posix"