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/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: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: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/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/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/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

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 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 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

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/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

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/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/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/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/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/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 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/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/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

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 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/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/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

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 16:57:18 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh token_comment.c src/usr.bin/indent: pr_comment.c Log Message: indent: fix assertion in fits_in_one_line To generate a diff of this

CVS commit: src

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 16:57:18 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh token_comment.c src/usr.bin/indent: pr_comment.c Log Message: indent: fix assertion in fits_in_one_line To generate a diff of this

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

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 16:43:23 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh Log Message: tests/indent: demonstrate assertion failure in fits_in_one_line To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

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

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 16:43:23 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh Log Message: tests/indent: demonstrate assertion failure in fits_in_one_line To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 16:18:51 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: prevent buffer overflows in 'if (expr) ... stmt' To generate a diff of this commit: cvs rdiff -u -r1.188 -r1.189

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 16:18:51 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: prevent buffer overflows in 'if (expr) ... stmt' To generate a diff of this commit: cvs rdiff -u -r1.188 -r1.189

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

2021-10-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 30 15:51:52 UTC 2021 Modified Files: src/sys/arch/arm/include: signal.h Log Message: Define __HAVE_STRUCT_SIGCONTEXT regardless of its current visibility. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2021-10-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 30 15:51:52 UTC 2021 Modified Files: src/sys/arch/arm/include: signal.h Log Message: Define __HAVE_STRUCT_SIGCONTEXT regardless of its current visibility. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

Re: CVS commit: src/sys/dev/sbus

2021-10-30 Thread Ryo Shimizu
>Module Name: src >Committed By: macallan >Date: Sat Oct 30 05:37:39 UTC 2021 > >Modified Files: > src/sys/dev/sbus: mgx.c mgxreg.h > >Log Message: >actually mmap() the blitter registers when asked to, while there do some >magic number reduction > > >To generate a diff of this

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

2021-10-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 30 14:05:40 UTC 2021 Modified Files: src/sys/arch/mips/include: signal.h Log Message: Adjust the rules for sigcontext visibility on MIPS: - Define __HAVE_STRUCT_SIGCONTEXT if _KERNEL (because it's needed for 32-bit

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

2021-10-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 30 14:05:40 UTC 2021 Modified Files: src/sys/arch/mips/include: signal.h Log Message: Adjust the rules for sigcontext visibility on MIPS: - Define __HAVE_STRUCT_SIGCONTEXT if _KERNEL (because it's needed for 32-bit

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/telnet

2021-10-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Oct 30 13:43:40 UTC 2021 Modified Files: src/usr.bin/telnet: telnet.c Log Message: Obvious typo ':' -> ';'. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/usr.bin/telnet/telnet.c Please note that diffs

CVS commit: src/usr.bin/telnet

2021-10-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Oct 30 13:43:40 UTC 2021 Modified Files: src/usr.bin/telnet: telnet.c Log Message: Obvious typo ':' -> ';'. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/usr.bin/telnet/telnet.c Please note that diffs

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/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/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/tests/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 12:24:03 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c Log Message: tests/lint: explain and extend the tests for box comments These tests are in preparation of removing the magic number 4 from

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

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 12:24:03 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c Log Message: tests/lint: explain and extend the tests for box comments These tests are in preparation of removing the magic number 4 from

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 11:49:38 UTC 2021 Modified Files: src/usr.bin/indent: indent.h io.c Log Message: indent: inline macro label_offset No functional change. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 11:49:38 UTC 2021 Modified Files: src/usr.bin/indent: indent.h io.c Log Message: indent: inline macro label_offset No functional change. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64

Re: CVS commit: src/usr.sbin/rpcbind

2021-10-30 Thread nia
On Sat, Oct 30, 2021 at 08:25:42PM +0900, Rin Okuyama wrote: > We should not break from infinite loop here, even if svc_fdset_getmax() > fails. Please restore the old behavior. And please be more careful before > making such a non-trivial change. Ah, thank you. I incorrectly assumed that "out"

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

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.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/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 11:37:38 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: replace tabsize with hardcoded 8 in process_comma On 2018-07-25, FreeBSD added the option '-ts' to make the tabulator size

CVS commit: src/usr.bin/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 11:37:38 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: replace tabsize with hardcoded 8 in process_comma On 2018-07-25, FreeBSD added the option '-ts' to make the tabulator size

CVS commit: src/usr.bin/telnet

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:37:18 UTC 2021 Modified Files: src/usr.bin/telnet: telnet.c Log Message: telnet(1): use reallocarr instead of malloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/usr.bin/telnet/telnet.c

CVS commit: src/usr.bin/telnet

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:37:18 UTC 2021 Modified Files: src/usr.bin/telnet: telnet.c Log Message: telnet(1): use reallocarr instead of malloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/usr.bin/telnet/telnet.c

CVS commit: src/lib/libpam/modules/pam_exec

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:34:59 UTC 2021 Modified Files: src/lib/libpam/modules/pam_exec: pam_exec.c Log Message: pam_exec: Convert realloc(x * y) to reallocarr. Eliminate a now-redundant temporary variable. To generate a diff of this

CVS commit: src/lib/libpam/modules/pam_exec

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:34:59 UTC 2021 Modified Files: src/lib/libpam/modules/pam_exec: pam_exec.c Log Message: pam_exec: Convert realloc(x * y) to reallocarr. Eliminate a now-redundant temporary variable. To generate a diff of this

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

Re: CVS commit: src/usr.sbin/rpcbind

2021-10-30 Thread Rin Okuyama
On 2021/10/30 20:04, Nia Alarie wrote: This function previously tried to go to a label that doesn't exist. I wonder why GCC didn't catch this before but does now. This is not true. You deleted the label: - if (p == NULL) { -out: - syslog(LOG_ERR, "Cannot

CVS commit: src/usr.bin/su

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:25:30 UTC 2021 Modified Files: src/usr.bin/su: su.c Log Message: su(1): use reallocarr instead of malloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/usr.bin/su/su.c Please note that

CVS commit: src/usr.bin/su

2021-10-30 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Oct 30 11:25:30 UTC 2021 Modified Files: src/usr.bin/su: su.c Log Message: su(1): use reallocarr instead of malloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/usr.bin/su/su.c Please note that

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/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/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/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/indent

2021-10-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Oct 30 11:05:26 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: clean up code_add_decl_indent In layout computations, it is helpful for human readers to list the summands in logical order. In this

  1   2   >