CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:16:36 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: reduce indentation No functional change. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:16:36 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: reduce indentation No functional change. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 23:18:47 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent_globs.h io.c Log Message: indent: rename bp_save to saved_inp_s, be_save to saved_inp_e Using the same naming convention makes it easier to relate

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 23:18:47 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent_globs.h io.c Log Message: indent: rename bp_save to saved_inp_s, be_save to saved_inp_e Using the same naming convention makes it easier to relate

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 19:35:50 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent_globs.h io.c Log Message: indent: clean up colon handling No functional change. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 19:35:50 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent_globs.h io.c Log Message: indent: clean up colon handling No functional change. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:43:20 UTC 2021 Modified Files: src/usr.bin/indent: indent.c parse.c pr_comment.c Log Message: indent: clean up comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:43:20 UTC 2021 Modified Files: src/usr.bin/indent: indent.c parse.c pr_comment.c Log Message: indent: clean up comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:41:59 UTC 2021 Modified Files: src/usr.bin/indent: args.c indent.c indent_globs.h lexi.c Log Message: indent: fix wrong or outdated comments No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:41:59 UTC 2021 Modified Files: src/usr.bin/indent: args.c indent.c indent_globs.h lexi.c Log Message: indent: fix wrong or outdated comments No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 23:15:16 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent_globs.h io.c lexi.c pr_comment.c Log Message: indent: group variables for the input buffer The input buffer follows the same concept as the

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 23:15:16 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent_globs.h io.c lexi.c pr_comment.c Log Message: indent: group variables for the input buffer The input buffer follows the same concept as the

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 19:17:07 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: add high-level API for working with buffers This makes the code more boring to read, which is actually good. Less fiddling with

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 19:17:07 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: add high-level API for working with buffers This makes the code more boring to read, which is actually good. Less fiddling with

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:57:21 UTC 2021 Modified Files: src/usr.bin/indent: indent.c io.c lexi.c pr_comment.c Log Message: indent: use braces around multi-line statements No functional change. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:57:21 UTC 2021 Modified Files: src/usr.bin/indent: indent.c io.c lexi.c pr_comment.c Log Message: indent: use braces around multi-line statements No functional change. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 22:52:13 UTC 2021 Modified Files: src/usr.bin/indent: indent.c lexi.c Log Message: indent: clean up code, remove outdated wrong comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.120

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 22:52:13 UTC 2021 Modified Files: src/usr.bin/indent: indent.c lexi.c Log Message: indent: clean up code, remove outdated wrong comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.120

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 23:01:32 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent_globs.h Log Message: indent: move definition of bufsize from header to implementation No functional change. To generate a diff of this commit:

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 23:01:32 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent_globs.h Log Message: indent: move definition of bufsize from header to implementation No functional change. To generate a diff of this commit:

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 19:42:42 UTC 2021 Modified Files: src/usr.bin/indent: args.c indent.c indent.h Log Message: indent: remove global variable option_source It is only needed at startup, while parsing the options. The string "?" was not

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 19:42:42 UTC 2021 Modified Files: src/usr.bin/indent: args.c indent.c indent.h Log Message: indent: remove global variable option_source It is only needed at startup, while parsing the options. The string "?" was not

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:52:54 UTC 2021 Modified Files: src/usr.bin/indent: indent.c io.c lexi.c parse.c pr_comment.c Log Message: indent: let the code breathe a bit by inserting empty lines No functional change. To generate a diff of

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:52:54 UTC 2021 Modified Files: src/usr.bin/indent: indent.c io.c lexi.c parse.c pr_comment.c Log Message: indent: let the code breathe a bit by inserting empty lines No functional change. To generate a diff of

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:38:25 UTC 2021 Modified Files: src/usr.bin/indent: indent.c io.c parse.c pr_comment.c Log Message: indent: remove redundant comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.115

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 21:38:25 UTC 2021 Modified Files: src/usr.bin/indent: indent.c io.c parse.c pr_comment.c Log Message: indent: remove redundant comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.115

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 22:56:49 UTC 2021 Modified Files: src/usr.bin/indent: args.c indent.c indent_globs.h parse.c Log Message: indent: rename opt.btype_2 to brace_same_line No functional change. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 22:56:49 UTC 2021 Modified Files: src/usr.bin/indent: args.c indent.c indent_globs.h parse.c Log Message: indent: rename opt.btype_2 to brace_same_line No functional change. To generate a diff of this commit: cvs

CVS commit: src/lib/libc/arch/aarch64/gen

2021-10-07 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 7 06:44:19 UTC 2021 Modified Files: src/lib/libc/arch/aarch64/gen: _setjmp.S setjmp.S Log Message: Fix the lib/libc/setjmp/t_setjmp:{,_}longjmp_zero test cases To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/lib/libc/arch/aarch64/gen

2021-10-07 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 7 06:44:19 UTC 2021 Modified Files: src/lib/libc/arch/aarch64/gen: _setjmp.S setjmp.S Log Message: Fix the lib/libc/setjmp/t_setjmp:{,_}longjmp_zero test cases To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

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

2021-10-07 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 7 07:13:35 UTC 2021 Modified Files: src/sys/arch/riscv/riscv: pmap_machdep.c riscv_machdep.c syscall.c trap.c Log Message: Hacky build fixes To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

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

2021-10-07 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 7 07:13:35 UTC 2021 Modified Files: src/sys/arch/riscv/riscv: pmap_machdep.c riscv_machdep.c syscall.c trap.c Log Message: Hacky build fixes To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src

2021-10-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Oct 7 13:04:18 UTC 2021 Modified Files: src/sys/arch/x86/include: cacheinfo.h cpu.h src/sys/arch/x86/x86: identcpu.c identcpu_subr.c src/usr.sbin/cpuctl/arch: cpuctl_i386.h i386.c Log Message: Move some

CVS commit: src

2021-10-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Oct 7 13:04:18 UTC 2021 Modified Files: src/sys/arch/x86/include: cacheinfo.h cpu.h src/sys/arch/x86/x86: identcpu.c identcpu_subr.c src/usr.sbin/cpuctl/arch: cpuctl_i386.h i386.c Log Message: Move some

CVS commit: src/sys/arch/x86/x86

2021-10-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Oct 7 12:52:27 UTC 2021 Modified Files: src/sys/arch/x86/x86: bus_dma.c bus_space.c consinit.c coretemp.c cpu.c cpu_rng.c db_memrw.c efi.c errata.c est.c identcpu.c intel_busclock.c intr.c ioapic.c

CVS commit: src/sys/arch/x86/x86

2021-10-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Oct 7 12:52:27 UTC 2021 Modified Files: src/sys/arch/x86/x86: bus_dma.c bus_space.c consinit.c coretemp.c cpu.c cpu_rng.c db_memrw.c efi.c errata.c est.c identcpu.c intel_busclock.c intr.c ioapic.c

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

2021-10-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Oct 7 09:58:27 UTC 2021 Modified Files: src/sys/arch/arm/arm: cpufunc_asm_armv5_ec.S Log Message: Reduce diff with cpufunc_asm_armv5.S, from which this file was derived. To generate a diff of this commit: cvs rdiff -u -r1.6

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

2021-10-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Oct 7 09:58:27 UTC 2021 Modified Files: src/sys/arch/arm/arm: cpufunc_asm_armv5_ec.S Log Message: Reduce diff with cpufunc_asm_armv5.S, from which this file was derived. To generate a diff of this commit: cvs rdiff -u -r1.6

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

2021-10-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Oct 7 09:57:27 UTC 2021 Modified Files: src/sys/arch/arm/arm: cpufunc_asm_armv5.S Log Message: trailing whitespace/tab To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/arm/cpufunc_asm_armv5.S

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

2021-10-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Oct 7 09:57:27 UTC 2021 Modified Files: src/sys/arch/arm/arm: cpufunc_asm_armv5.S Log Message: trailing whitespace/tab To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/arm/cpufunc_asm_armv5.S

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

2021-10-07 Thread Rin Okuyama
Oops, forgot to mention: No binary changes. On 2021/10/07 18:58, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Thu Oct 7 09:58:27 UTC 2021 Modified Files: src/sys/arch/arm/arm: cpufunc_asm_armv5_ec.S Log Message: Reduce diff with cpufunc_asm_armv5.S, from

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 16:45:38 UTC 2021 Modified Files: src/usr.bin/indent: args.c Log Message: indent: prevent buffer overflow when reading profile To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/usr.bin/indent/args.c

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 16:45:38 UTC 2021 Modified Files: src/usr.bin/indent: args.c Log Message: indent: prevent buffer overflow when reading profile To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/usr.bin/indent/args.c

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 17:31:33 UTC 2021 Modified Files: src/usr.bin/indent: args.c Log Message: indent: allow long comments in profile files When reading a comment in a profile file, don't store the characters of the comment in the buffer,

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 17:31:33 UTC 2021 Modified Files: src/usr.bin/indent: args.c Log Message: indent: allow long comments in profile files When reading a comment in a profile file, don't store the characters of the comment in the buffer,

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 17:38:21 UTC 2021 Modified Files: src/usr.bin/indent: args.c Log Message: indent: complain if the profile from the command line does not exist To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 17:38:21 UTC 2021 Modified Files: src/usr.bin/indent: args.c Log Message: indent: complain if the profile from the command line does not exist To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 18:07:25 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile src/usr.bin/indent: args.c Added Files: src/tests/usr.bin/indent: opt.0 opt.0.pro

CVS commit: src

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 18:07:25 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile src/usr.bin/indent: args.c Added Files: src/tests/usr.bin/indent: opt.0 opt.0.pro

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 18:19:07 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: prevent division by zero To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/usr.bin/indent/indent.c Please note

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 18:19:07 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: prevent division by zero To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/usr.bin/indent/indent.c Please note

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 18:32:09 UTC 2021 Modified Files: src/usr.bin/indent: Makefile args.c indent.c io.c lexi.c Log Message: indent: raise WARNS from the default 5 up to 6 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 18:32:09 UTC 2021 Modified Files: src/usr.bin/indent: Makefile args.c indent.c io.c lexi.c Log Message: indent: raise WARNS from the default 5 up to 6 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 18:48:32 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: rename copy_id to copy_token No functional change. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111

CVS commit: src/usr.bin/indent

2021-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Oct 7 18:48:32 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: rename copy_id to copy_token No functional change. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111