CVS commit: src/sys/arch

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 18:44:24 UTC 2021 Modified Files: src/sys/arch/aarch64/conf: files.aarch64 src/sys/arch/arm/cortex: gic_splfuncs.c Added Files: src/sys/arch/arm/cortex: gic_splfuncs_armv8.S Log Message: Implement

CVS commit: src/sys/arch

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 18:44:24 UTC 2021 Modified Files: src/sys/arch/aarch64/conf: files.aarch64 src/sys/arch/arm/cortex: gic_splfuncs.c Added Files: src/sys/arch/arm/cortex: gic_splfuncs_armv8.S Log Message: Implement

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 22:15:51 UTC 2021 Modified Files: src/usr.bin/indent: indent.h lexi.c Log Message: indent: clean up lexical analyzer Use traditional type for small unsigned numbers instead of uint8_t; the required header was not

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 22:15:51 UTC 2021 Modified Files: src/usr.bin/indent: indent.h lexi.c Log Message: indent: clean up lexical analyzer Use traditional type for small unsigned numbers instead of uint8_t; the required header was not

CVS commit: src/usr.bin/finger

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 09:12:09 UTC 2021 Modified Files: src/usr.bin/finger: finger.c Log Message: finger(1): convert malloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/finger/finger.c

CVS commit: src/usr.bin/finger

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 09:12:09 UTC 2021 Modified Files: src/usr.bin/finger: finger.c Log Message: finger(1): convert malloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/finger/finger.c

CVS commit: src/sys/stand/efiboot

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 11:18:51 UTC 2021 Modified Files: src/sys/stand/efiboot: efiblock.c Log Message: If a path is not specified, assume /. This makes "ls" and "ls hd0b:" work as expected. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/stand/efiboot

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 11:18:51 UTC 2021 Modified Files: src/sys/stand/efiboot: efiblock.c Log Message: If a path is not specified, assume /. This makes "ls" and "ls hd0b:" work as expected. To generate a diff of this commit: cvs rdiff

CVS commit: src/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 12:28:42 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c Log Message: tests/indent: test preserving the internal layout of box comments To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 12:28:42 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c Log Message: tests/indent: test preserving the internal layout of box comments To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 13:30:26 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh src/usr.bin/indent: indent.c Log Message: indent: fix assertion failure in search_stmt_comment I have no idea why the code was written in

CVS commit: src

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 13:30:26 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh src/usr.bin/indent: indent.c Log Message: indent: fix assertion failure in search_stmt_comment I have no idea why the code was written in

CVS commit: src/tests/sbin/resize_ffs

2021-10-30 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Sat Oct 30 13:50:12 UTC 2021 Modified Files: src/tests/sbin/resize_ffs: common.sh Log Message: Delete trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/tests/sbin/resize_ffs/common.sh Please

CVS commit: src/tests/sbin/resize_ffs

2021-10-30 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Sat Oct 30 13:50:12 UTC 2021 Modified Files: src/tests/sbin/resize_ffs: common.sh Log Message: Delete trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/tests/sbin/resize_ffs/common.sh Please

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 18:23:17 UTC 2021 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: fix bounds check for sc_buf Some years ago, save_com was an array of characters, used as temporary storage. When sc_buf was

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 18:23:17 UTC 2021 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: fix bounds check for sc_buf Some years ago, save_com was an array of characters, used as temporary storage. When sc_buf was

CVS commit: src/sys/arch/powerpc

2021-10-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 30 19:44:56 UTC 2021 Modified Files: src/sys/arch/powerpc/oea: altivec.c src/sys/arch/powerpc/powerpc: compat_16_machdep.c Log Message: - In vec_restore_from_mcontext() and vec_save_to_mcontext(), allows the

CVS commit: src/sys/arch/powerpc

2021-10-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 30 19:44:56 UTC 2021 Modified Files: src/sys/arch/powerpc/oea: altivec.c src/sys/arch/powerpc/powerpc: compat_16_machdep.c Log Message: - In vec_restore_from_mcontext() and vec_save_to_mcontext(), allows the

CVS commit: src/sys/dev/sbus

2021-10-30 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Oct 31 05:31:12 UTC 2021 Modified Files: src/sys/dev/sbus: mgx.c Log Message: remove accidentially committed debug goop thanks ryo@ To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/sbus/mgx.c

CVS commit: src/sys/dev/sbus

2021-10-30 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Oct 31 05:31:12 UTC 2021 Modified Files: src/sys/dev/sbus: mgx.c Log Message: remove accidentially committed debug goop thanks ryo@ To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/sbus/mgx.c

CVS commit: src/sys/arch/arm/include

2021-10-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 30 19:54:58 UTC 2021 Modified Files: src/sys/arch/arm/include: signal.h Log Message: Fix the previous to only apply to the non-AArch64 case. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/sys/arch/arm/include

2021-10-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 30 19:54:58 UTC 2021 Modified Files: src/sys/arch/arm/include: signal.h Log Message: Fix the previous to only apply to the non-AArch64 case. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 22:25:11 UTC 2021 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: in debug output, list the new token first To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/usr.bin/indent/lexi.c

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 22:25:11 UTC 2021 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: in debug output, list the new token first To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/usr.bin/indent/lexi.c

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 23:27:33 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: push down variable comment_buffered No functional change. To generate a diff of this commit: cvs rdiff -u -r1.195 -r1.196

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 23:27:33 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: push down variable comment_buffered No functional change. To generate a diff of this commit: cvs rdiff -u -r1.195 -r1.196

CVS commit: src/bin/sh

2021-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 31 02:12:01 UTC 2021 Modified Files: src/bin/sh: cd.c Log Message: PR bin/45390 - fix for folly four In the pwd builtin, verify that curdir names '.' before simply printing it. Never alter PWD or OLDPWD in the pwd

CVS commit: src/bin/sh

2021-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 31 02:12:01 UTC 2021 Modified Files: src/bin/sh: cd.c Log Message: PR bin/45390 - fix for folly four In the pwd builtin, verify that curdir names '.' before simply printing it. Never alter PWD or OLDPWD in the pwd

CVS commit: src/bin/sh

2021-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 31 02:12:08 UTC 2021 Modified Files: src/bin/sh: sh.1 Log Message: PR bin/45390 Be explicit about what happens to PWD after a successful cd command. Also be very clear that "cd" and "cd -P" are the same thing, and the only

CVS commit: src/bin/sh

2021-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 31 02:12:08 UTC 2021 Modified Files: src/bin/sh: sh.1 Log Message: PR bin/45390 Be explicit about what happens to PWD after a successful cd command. Also be very clear that "cd" and "cd -P" are the same thing, and the only

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 18:58:05 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: move buffer functions further up No functional change. To generate a diff of this commit: cvs rdiff -u -r1.192 -r1.193

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 18:58:05 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: move buffer functions further up No functional change. To generate a diff of this commit: cvs rdiff -u -r1.192 -r1.193

CVS commit: src/sys/arch

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 20:23:12 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf src/sys/arch/arm/cortex: gic_splfuncs_armv8.S Log Message: Add __HAVE_PREEMPTION support to gic_splfuncs asm funcs. "looks right to

CVS commit: src/sys/arch

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 20:23:12 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf src/sys/arch/arm/cortex: gic_splfuncs_armv8.S Log Message: Add __HAVE_PREEMPTION support to gic_splfuncs asm funcs. "looks right to

CVS commit: src

2021-10-30 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Oct 30 21:08:58 UTC 2021 Modified Files: src/bin/ksh: ksh.Man src/share/man/man5: nologin.5 src/sys/dev/marvell: gtreg.h Log Message: "no affect" -> "no effect" in man pages and comments. To generate a diff

CVS commit: src

2021-10-30 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Oct 30 21:08:58 UTC 2021 Modified Files: src/bin/ksh: ksh.Man src/share/man/man5: nologin.5 src/sys/dev/marvell: gtreg.h Log Message: "no affect" -> "no effect" in man pages and comments. To generate a diff

CVS commit: src/lib/libc/compat/arch/hppa/sys

2021-10-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Oct 30 21:39:28 UTC 2021 Modified Files: src/lib/libc/compat/arch/hppa/sys: Makefile.inc Added Files: src/lib/libc/compat/arch/hppa/sys: compat___sigtramp1.S Log Message: Put back the sigcontext sigtramp code. To

CVS commit: src/lib/libc/compat/arch/hppa/sys

2021-10-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Oct 30 21:39:28 UTC 2021 Modified Files: src/lib/libc/compat/arch/hppa/sys: Makefile.inc Added Files: src/lib/libc/compat/arch/hppa/sys: compat___sigtramp1.S Log Message: Put back the sigcontext sigtramp code. To

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 22:41:18 UTC 2021 Modified Files: src/usr.bin/indent: indent.h Log Message: indent: move debugging functions to a separate section To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 22:41:18 UTC 2021 Modified Files: src/usr.bin/indent: indent.h Log Message: indent: move debugging functions to a separate section To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 17:55:45 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: prevent buffer overflow in search_stmt_comment printf '{ if (%01d) /*comment*/ ; }' '0' | indent To generate a diff of this

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 17:55:45 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: prevent buffer overflow in search_stmt_comment printf '{ if (%01d) /*comment*/ ; }' '0' | indent To generate a diff of this

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 18:49:47 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf Log Message: Add CI_SPLX_SAVEDIPL and CI_HWPL To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 18:49:47 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf Log Message: Add CI_SPLX_SAVEDIPL and CI_HWPL To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 22:36:07 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_binary_op.c token_comment.c src/usr.bin/indent: indent.c indent.h lexi.c pr_comment.c Log Message: indent: rename prev_newline and prev_col_1 to

CVS commit: src

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 22:36:07 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_binary_op.c token_comment.c src/usr.bin/indent: indent.c indent.h lexi.c pr_comment.c Log Message: indent: rename prev_newline and prev_col_1 to

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 18:47:36 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: group variables by topic No functional change. To generate a diff of this commit: cvs rdiff -u -r1.191 -r1.192

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 18:47:36 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: group variables by topic No functional change. To generate a diff of this commit: cvs rdiff -u -r1.191 -r1.192

CVS commit: src/sys/arch/evbarm/conf

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 19:28:40 UTC 2021 Modified Files: src/sys/arch/evbarm/conf: std.generic64 Log Message: Enable GIC_SPLFUNCS again. Hopefully stable now. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/arch/evbarm/conf

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 19:28:40 UTC 2021 Modified Files: src/sys/arch/evbarm/conf: std.generic64 Log Message: Enable GIC_SPLFUNCS again. Hopefully stable now. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 20:01:46 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: reorder assignments in switch_buffer No functional change. To generate a diff of this commit: cvs rdiff -u -r1.193 -r1.194

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 20:01:46 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: reorder assignments in switch_buffer No functional change. To generate a diff of this commit: cvs rdiff -u -r1.193 -r1.194

CVS commit: src

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 22:04:42 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: Makefile msg_241.c src/usr.bin/xlint/lint1: err.c tree.c Added Files:

CVS commit: src

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 22:04:42 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: Makefile msg_241.c src/usr.bin/xlint/lint1: err.c tree.c Added Files:

CVS commit: src/sys/arch/amd64/conf

2021-10-30 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun Oct 31 00:31:48 UTC 2021 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: options To generate a diff of this commit: cvs rdiff -u -r1.592 -r1.593 src/sys/arch/amd64/conf/GENERIC Please note that diffs are not

CVS commit: src/sys/arch/amd64/conf

2021-10-30 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun Oct 31 00:31:48 UTC 2021 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: options To generate a diff of this commit: cvs rdiff -u -r1.592 -r1.593 src/sys/arch/amd64/conf/GENERIC Please note that diffs are not

CVS commit: src/sys/arch/riscv/riscv

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 07:18:47 UTC 2021 Modified Files: src/sys/arch/riscv/riscv: pmap_machdep.c Log Message: Fix thinko in tlb_record_asids memset size calculation. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/arch/riscv/riscv

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 07:18:47 UTC 2021 Modified Files: src/sys/arch/riscv/riscv: pmap_machdep.c Log Message: Fix thinko in tlb_record_asids memset size calculation. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 09:32:46 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_misc.sh Log Message: tests/indent: test several options '-P' To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 09:32:46 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_misc.sh Log Message: tests/indent: test several options '-P' To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 10:01:31 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: inline bloated call to 'parse' during initialization No functional change. To generate a diff of this commit: cvs rdiff -u -r1.181

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 10:01:31 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: inline bloated call to 'parse' during initialization No functional change. To generate a diff of this commit: cvs rdiff -u -r1.181

CVS commit: src/usr.sbin/rpcbind

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:41:45 UTC 2021 Modified Files: src/usr.sbin/rpcbind: rpcb_svc_com.c Log Message: rpcbind(8): restore previous behaviour. Wait instead of breaking from the loop if svc_fdset_getmax fails. thanks rin. To generate a

CVS commit: src/usr.sbin/rpcbind

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:41:45 UTC 2021 Modified Files: src/usr.sbin/rpcbind: rpcb_svc_com.c Log Message: rpcbind(8): restore previous behaviour. Wait instead of breaking from the loop if svc_fdset_getmax fails. thanks rin. To generate a

CVS commit: src/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 11:41:49 UTC 2021 Modified Files: src/tests/usr.bin/indent: fmt_decl.c Log Message: tests/indent: document why declaration lines are broken unnecessarily To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 11:41:49 UTC 2021 Modified Files: src/tests/usr.bin/indent: fmt_decl.c Log Message: tests/indent: document why declaration lines are broken unnecessarily To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 09:51:23 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: condense code for parsing command line arguments Previously, the cascade of 'if' statements suggested that there were 6 different

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 09:51:23 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: condense code for parsing command line arguments Previously, the cascade of 'if' statements suggested that there were 6 different

CVS commit: src/lib/libpuffs

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 10:34:19 UTC 2021 Modified Files: src/lib/libpuffs: framebuf.c puffs.c Log Message: puffs(3): Replace realloc(x * y) with reallocarr To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/lib/libpuffs

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 10:34:19 UTC 2021 Modified Files: src/lib/libpuffs: framebuf.c puffs.c Log Message: puffs(3): Replace realloc(x * y) with reallocarr To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/usr.sbin/ndbootd

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 10:44:25 UTC 2021 Modified Files: src/usr.sbin/ndbootd: ndbootd.c Log Message: ndbootd(8): Rework allocation macros to add integer overflow checking. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/usr.sbin/ndbootd

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 10:44:25 UTC 2021 Modified Files: src/usr.sbin/ndbootd: ndbootd.c Log Message: ndbootd(8): Rework allocation macros to add integer overflow checking. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 17:18:26 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: add debug logging for save_com This will help in finding the proper fix for the assertion failure in search_stmt_comment. Add an

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 17:18:26 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: add debug logging for save_com This will help in finding the proper fix for the assertion failure in search_stmt_comment. Add an

CVS commit: src/sys/arch/arm/arm

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 09:23:10 UTC 2021 Modified Files: src/sys/arch/arm/arm: undefined.c Log Message: Remove stale comment To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/arch/arm/arm/undefined.c Please note that

CVS commit: src/sys/arch/arm/arm

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 09:23:10 UTC 2021 Modified Files: src/sys/arch/arm/arm: undefined.c Log Message: Remove stale comment To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/arch/arm/arm/undefined.c Please note that

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 09:42:27 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: style. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/aarch64/aarch64/cpu.c Please note that diffs

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 09:42:27 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: style. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/aarch64/aarch64/cpu.c Please note that diffs

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 09:42:31 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: extract main_load_profiles from main_parse_command_line No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 09:42:01 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: TODO Log Message: Remove an item To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/aarch64/TODO Please note that diffs

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 09:42:01 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: TODO Log Message: Remove an item To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/aarch64/TODO Please note that diffs

CVS commit: src/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 10:52:43 UTC 2021 Modified Files: src/tests/usr.bin/indent: ps_ind_level.c Log Message: tests/indent: test variable indentation with exotic options To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 10:52:43 UTC 2021 Modified Files: src/tests/usr.bin/indent: ps_ind_level.c Log Message: tests/indent: test variable indentation with exotic options To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 11:10:36 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: don't risk a buffer overflow in code_add_decl_indent The buffers have a safety margin of 5 characters, so the bounds check is not

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 11:10:36 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: don't risk a buffer overflow in code_add_decl_indent The buffers have a safety margin of 5 characters, so the bounds check is not

CVS commit: src/usr.bin/systat

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:31:51 UTC 2021 Modified Files: src/usr.bin/systat: netcmds.c Log Message: netstat(1): use reallocarr instead of realloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/usr.bin/systat

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:31:51 UTC 2021 Modified Files: src/usr.bin/systat: netcmds.c Log Message: netstat(1): use reallocarr instead of realloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/usr.bin/ypcat

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 08:56:54 UTC 2021 Modified Files: src/usr.bin/ypcat: ypalias_init.c Log Message: ypcat(1): Convert realloc(x * y) to reallocarr. We can eliminate a temporary variable here too. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/ypcat

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 08:56:54 UTC 2021 Modified Files: src/usr.bin/ypcat: ypalias_init.c Log Message: ypcat(1): Convert realloc(x * y) to reallocarr. We can eliminate a temporary variable here too. To generate a diff of this commit: cvs

CVS commit: src/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 13:06:43 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c Log Message: tests/indent: add more tests for the assertion in search_stmt_comment To generate a diff of this commit: cvs rdiff -u -r1.11

CVS commit: src/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 13:06:43 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c Log Message: tests/indent: add more tests for the assertion in search_stmt_comment To generate a diff of this commit: cvs rdiff -u -r1.11

CVS commit: src

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 15:26:58 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh token_comment.c src/usr.bin/indent: indent.c Log Message: indent: revert previous fix of assertion failure The strange code with the out

CVS commit: src

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 15:26:58 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh token_comment.c src/usr.bin/indent: indent.c Log Message: indent: revert previous fix of assertion failure The strange code with the out

CVS commit: src/sys/arch/arm/arm

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 08:10:49 UTC 2021 Modified Files: src/sys/arch/arm/arm: undefined.c Log Message: Use designated initialisers for static handlers and reduce the kernel size a little. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/arm/arm

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 08:10:49 UTC 2021 Modified Files: src/sys/arch/arm/arm: undefined.c Log Message: Use designated initialisers for static handlers and reduce the kernel size a little. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 10:59:07 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: remove confusing modulo from code_add_decl_indent The only effects of the modulo operation was to make indent slower and to confuse

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 10:59:07 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: remove confusing modulo from code_add_decl_indent The only effects of the modulo operation was to make indent slower and to confuse

CVS commit: src/usr.bin/netstat

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:23:07 UTC 2021 Modified Files: src/usr.bin/netstat: inet.c inet6.c vtw.c Log Message: netstat(1): convert malloc(x * y) and realloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114

CVS commit: src/sys/dev/ic

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 11:43:17 UTC 2021 Modified Files: src/sys/dev/ic: com.c Log Message: For the DW APB busy bit workaround, only attempt to re-apply LCR and DLB settings for non-console devices. In the console case, simply clear the

CVS commit: src/sys/dev/ic

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 11:43:17 UTC 2021 Modified Files: src/sys/dev/ic: com.c Log Message: For the DW APB busy bit workaround, only attempt to re-apply LCR and DLB settings for non-console devices. In the console case, simply clear the

  1   2   >