CVS commit: src/lib/libc/stdlib

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:29:51 UTC 2021 Modified Files: src/lib/libc/stdlib: radixsort.c Log Message: radixsort(3): use reallocarr instead of malloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/lib/libc/stdlib

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:29:51 UTC 2021 Modified Files: src/lib/libc/stdlib: radixsort.c Log Message: radixsort(3): use reallocarr instead of malloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/games/atc

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 11:44:22 UTC 2021 Modified Files: src/games/atc: grammar.y Log Message: atc(6): simplify reallocation logic To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/games/atc/grammar.y Please note that diffs

CVS commit: src/games/atc

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 11:44:22 UTC 2021 Modified Files: src/games/atc: grammar.y Log Message: atc(6): simplify reallocation logic To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/games/atc/grammar.y Please note that diffs

CVS commit: src/lib/libcrypt

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 13:22:08 UTC 2021 Modified Files: src/lib/libcrypt: crypt-sha1.c Log Message: libcrypt: Fix a floating point exception when a low number of HMAC-SHA1 iterations are specified. To generate a diff of this commit: cvs

CVS commit: src/lib/libcrypt

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 13:22:08 UTC 2021 Modified Files: src/lib/libcrypt: crypt-sha1.c Log Message: libcrypt: Fix a floating point exception when a low number of HMAC-SHA1 iterations are specified. To generate a diff of this commit: cvs

CVS commit: src/lib/libc/citrus

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:54:56 UTC 2021 Modified Files: src/lib/libc/citrus: citrus_db_factory.c Log Message: citrus: Use calloc instead of malloc'ing and clearing the array manually To generate a diff of this commit: cvs rdiff -u -r1.10

CVS commit: src/lib/libc/citrus

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:54:56 UTC 2021 Modified Files: src/lib/libc/citrus: citrus_db_factory.c Log Message: citrus: Use calloc instead of malloc'ing and clearing the array manually To generate a diff of this commit: cvs rdiff -u -r1.10

CVS commit: src/share/man/man4

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:26:10 UTC 2021 Modified Files: src/share/man/man4: pdcsata.4 Log Message: pdcsata.4: Add HISTORY section, fix stray space. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/pdcsata.4

CVS commit: src/share/man/man4

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:26:10 UTC 2021 Modified Files: src/share/man/man4: pdcsata.4 Log Message: pdcsata.4: Add HISTORY section, fix stray space. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/pdcsata.4

CVS commit: src/games/sail

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 11:42:34 UTC 2021 Modified Files: src/games/sail: array.c Log Message: sail(6): convert realloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/games/sail/array.c Please note that

CVS commit: src/lib/libc

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 11:03:46 UTC 2021 Modified Files: src/lib/libc/stdlib: radixsort.c src/lib/libc/string: wcsdup.c Log Message: reallocarr does not set errno. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/lib/libc

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 11:03:46 UTC 2021 Modified Files: src/lib/libc/stdlib: radixsort.c src/lib/libc/string: wcsdup.c Log Message: reallocarr does not set errno. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/games/hunt/hunt

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 11:40:23 UTC 2021 Modified Files: src/games/hunt/hunt: server.c Log Message: huntd(6): convert malloc(x * y) and realloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/games/hunt/hunt

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 11:40:23 UTC 2021 Modified Files: src/games/hunt/hunt: server.c Log Message: huntd(6): convert malloc(x * y) and realloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/games/cgram

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 11:45:39 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram(6): realloc(x * y) -> reallocarr To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/games/cgram/cgram.c Please note that

CVS commit: src/games/cgram

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 11:45:39 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram(6): realloc(x * y) -> reallocarr To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/games/cgram/cgram.c Please note that

CVS commit: src/lib/libc/gen

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:40:00 UTC 2021 Modified Files: src/lib/libc/gen: scandir.c Log Message: scandir(3): Convert malloc(x * y) and realloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/lib/libc/gen

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:40:00 UTC 2021 Modified Files: src/lib/libc/gen: scandir.c Log Message: scandir(3): Convert malloc(x * y) and realloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/games/sail

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 11:42:34 UTC 2021 Modified Files: src/games/sail: array.c Log Message: sail(6): convert realloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/games/sail/array.c Please note that

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

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 16:49:46 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh Log Message: tests/indent: provoke the third occurrence of 'unbalanced parens' To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

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

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 16:49:46 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh Log Message: tests/indent: provoke the third occurrence of 'unbalanced parens' To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 16:54:52 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh t_misc.sh token_lparen.c src/usr.bin/indent: indent.c indent.h lexi.c Log Message: indent: spell 'parentheses' properly in messages and

CVS commit: src

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 16:54:52 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh t_misc.sh token_lparen.c src/usr.bin/indent: indent.c indent.h lexi.c Log Message: indent: spell 'parentheses' properly in messages and

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 17:32:22 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h io.c Log Message: indent: rename ps.dumped_decl_indent and indent_declaration The word 'dump' in 'ps.dumped_decl_indent' was too close to

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 17:32:22 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h io.c Log Message: indent: rename ps.dumped_decl_indent and indent_declaration The word 'dump' in 'ps.dumped_decl_indent' was too close to

Re: CVS commit: src/lib/libc/string

2021-10-29 Thread Joerg Sonnenberger
On Fri, Oct 29, 2021 at 10:11:57AM +, Nia Alarie wrote: > Module Name: src > Committed By: nia > Date: Fri Oct 29 10:11:57 UTC 2021 > > Modified Files: > src/lib/libc/string: wcsdup.c > > Log Message: > wcsdup(3): use reallocarr to catch integer overflow Except that no such

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

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 16:43:05 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh Log Message: tests/indent: provoke error messages for unbalanced parentheses To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

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

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 16:43:05 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh Log Message: tests/indent: provoke error messages for unbalanced parentheses To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 16:59:35 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h lexi.c Log Message: indent: keep p_l_follow nonnegative, use consistent comparison No functional change. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 16:59:35 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h lexi.c Log Message: indent: keep p_l_follow nonnegative, use consistent comparison No functional change. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 17:41:56 UTC 2021 Modified Files: src/usr.bin/indent: indent.h Log Message: indent: group members of parser_state by topic No functional change. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 17:41:56 UTC 2021 Modified Files: src/usr.bin/indent: indent.h Log Message: indent: group members of parser_state by topic No functional change. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

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

2021-10-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Oct 29 17:29:45 UTC 2021 Modified Files: src/sys/arch/m68k/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.27 -r1.28

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

2021-10-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Oct 29 17:29:45 UTC 2021 Modified Files: src/sys/arch/m68k/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.27 -r1.28

CVS commit: src

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 17:50:38 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c token_lparen.c src/usr.bin/indent: indent.c indent.h lexi.c pr_comment.c Log Message: indent: use prev/curr/next to refer to the

CVS commit: src

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 17:50:38 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c token_lparen.c src/usr.bin/indent: indent.c indent.h lexi.c pr_comment.c Log Message: indent: use prev/curr/next to refer to the

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 19:12:49 UTC 2021 Modified Files: src/usr.bin/indent: indent.c io.c pr_comment.c Log Message: indent: fix undefined behavior in buffer handling Adding an arbitrary integer to a pointer may result in an out of bounds

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 19:12:49 UTC 2021 Modified Files: src/usr.bin/indent: indent.c io.c pr_comment.c Log Message: indent: fix undefined behavior in buffer handling Adding an arbitrary integer to a pointer may result in an out of bounds

CVS commit: src/distrib/sets/lists/comp

2021-10-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Oct 29 19:12:30 UTC 2021 Modified Files: src/distrib/sets/lists/comp: mi Log Message: add mgxreg.h To generate a diff of this commit: cvs rdiff -u -r1.2396 -r1.2397 src/distrib/sets/lists/comp/mi Please note that diffs

CVS commit: src/distrib/sets/lists/comp

2021-10-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Oct 29 19:12:30 UTC 2021 Modified Files: src/distrib/sets/lists/comp: mi Log Message: add mgxreg.h To generate a diff of this commit: cvs rdiff -u -r1.2396 -r1.2397 src/distrib/sets/lists/comp/mi Please note that diffs

CVS commit: src/lib/libc

2021-10-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 29 19:27:07 UTC 2021 Modified Files: src/lib/libc/gen: popen.c src/lib/libc/stdlib: system.c Log Message: Add "--" 'options end' parameter to the sh -c call that runs the command, so that the command cannot appear to

CVS commit: src/lib/libc

2021-10-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 29 19:27:07 UTC 2021 Modified Files: src/lib/libc/gen: popen.c src/lib/libc/stdlib: system.c Log Message: Add "--" 'options end' parameter to the sh -c call that runs the command, so that the command cannot appear to

CVS commit: src

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 19:22:55 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_misc.sh src/usr.bin/indent: indent.c Log Message: indent: clean up main_init_globals No functional change. To generate a diff of this commit: cvs

CVS commit: src

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 19:22:55 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_misc.sh src/usr.bin/indent: indent.c Log Message: indent: clean up main_init_globals No functional change. To generate a diff of this commit: cvs

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

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 19:39:32 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh Log Message: tests/indent: demonstrate segmentation fault in search_stmt_comment To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

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

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 19:39:32 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh Log Message: tests/indent: demonstrate segmentation fault in search_stmt_comment To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

Re: CVS commit: src

2021-10-29 Thread Robert Elz
Date:Fri, 29 Oct 2021 17:50:38 + From:"Roland Illig" Message-ID: <20211029175038.33b08f...@cvs.netbsd.org> | Log Message: | indent: use prev/curr/next to refer to the current token | | The word 'last' just didn't match with 'next'. That depends upon how

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 18:18:03 UTC 2021 Modified Files: src/usr.bin/indent: indent.h io.c Log Message: indent: reorder global variables to be more intuitive The buffer 'inp' comes first. From there, a single token is read into the buffer

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 18:18:03 UTC 2021 Modified Files: src/usr.bin/indent: indent.h io.c Log Message: indent: reorder global variables to be more intuitive The buffer 'inp' comes first. From there, a single token is read into the buffer

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 18:50:52 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: mark obviously broken code To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/usr.bin/indent/indent.c Please note

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 18:50:52 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: mark obviously broken code To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/usr.bin/indent/indent.c Please note

CVS commit: src/sys/dev/sbus

2021-10-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Oct 29 19:10:14 UTC 2021 Modified Files: src/sys/dev/sbus: Makefile Log Message: install mgxreg.h so we can use it from Xorg To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/sbus/Makefile Please

CVS commit: src/sys/dev/sbus

2021-10-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Oct 29 19:10:14 UTC 2021 Modified Files: src/sys/dev/sbus: Makefile Log Message: install mgxreg.h so we can use it from Xorg To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/sbus/Makefile Please

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 19:31:24 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: initialize 'ps' via code This saves 3 kB of binary size since the parser state is rather large and only very few members are

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 19:31:24 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: initialize 'ps' via code This saves 3 kB of binary size since the parser state is rather large and only very few members are

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 19:52:59 UTC 2021 Modified Files: src/usr.bin/indent: args.c Log Message: indent: parse options in a platform-independent way Previously, on an ILP32 platform, the option '-ts3' resulted in the error

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 19:52:59 UTC 2021 Modified Files: src/usr.bin/indent: args.c Log Message: indent: parse options in a platform-independent way Previously, on an ILP32 platform, the option '-ts3' resulted in the error

CVS commit: src

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 20:05:58 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh src/usr.bin/indent: indent.c Log Message: indent: replace segmentation fault with assertion To generate a diff of this commit: cvs rdiff

CVS commit: src

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 20:05:58 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh src/usr.bin/indent: indent.c Log Message: indent: replace segmentation fault with assertion To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 20:27:42 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c Log Message: indent: merge isblank and is_hspace into ch_isblank No functional change. To generate a diff of this

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 20:27:42 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c Log Message: indent: merge isblank and is_hspace into ch_isblank No functional change. To generate a diff of this

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

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 22:37:25 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_binary_op.c Log Message: tests/indent: test binary operators for tokens in column 1 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

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

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 22:37:25 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_binary_op.c Log Message: tests/indent: test binary operators for tokens in column 1 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 22:52:50 UTC 2021 Modified Files: src/usr.bin/indent: parse.c Log Message: indent: reduce indentation in parse, extract decl_level No functional change. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 22:52:50 UTC 2021 Modified Files: src/usr.bin/indent: parse.c Log Message: indent: reduce indentation in parse, extract decl_level No functional change. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 23:03:53 UTC 2021 Modified Files: src/usr.bin/indent: parse.c Log Message: indent: remove redundant comments The comments only repeated what the constants for the parser symbols already express in their names. In the

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 23:03:53 UTC 2021 Modified Files: src/usr.bin/indent: parse.c Log Message: indent: remove redundant comments The comments only repeated what the constants for the parser symbols already express in their names. In the

CVS commit: src

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 21:56:37 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_binary_op.c src/usr.bin/indent: indent.c indent.h Log Message: indent: fix missing blank before binary operator To generate a diff of this

CVS commit: src

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 21:56:37 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_binary_op.c src/usr.bin/indent: indent.c indent.h Log Message: indent: fix missing blank before binary operator To generate a diff of this

Re: CVS commit: src

2021-10-29 Thread Roland Illig
Am 29.10.2021 um 22:40 schrieb Robert Elz: Date:Fri, 29 Oct 2021 17:50:38 + From:"Roland Illig" Message-ID: <20211029175038.33b08f...@cvs.netbsd.org> | Log Message: | indent: use prev/curr/next to refer to the current token | | The word 'last'

CVS commit: src/sys/dev/i2c

2021-10-29 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Oct 29 23:23:33 UTC 2021 Modified Files: src/sys/dev/i2c: sht4x.c Log Message: Correct an off by one degree error in the temperature conversion. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev/i2c

2021-10-29 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Oct 29 23:23:33 UTC 2021 Modified Files: src/sys/dev/i2c: sht4x.c Log Message: Correct an off by one degree error in the temperature conversion. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 23:48:50 UTC 2021 Modified Files: src/usr.bin/indent: indent.c lexi.c parse.c Log Message: indent: remove redundant comments, remove punctuation from debug log The comment about 'null stmt' between braces probably

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 23:48:50 UTC 2021 Modified Files: src/usr.bin/indent: indent.c lexi.c parse.c Log Message: indent: remove redundant comments, remove punctuation from debug log The comment about 'null stmt' between braces probably

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 21:22:06 UTC 2021 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: add detailed debug logging for the parser state To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 21:22:06 UTC 2021 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: add detailed debug logging for the parser state To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 21:31:29 UTC 2021 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: in debug mode, log only differences for most ps members To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113

CVS commit: src/usr.bin/indent

2021-10-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Oct 29 21:31:29 UTC 2021 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: in debug mode, log only differences for most ps members To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113

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

2021-10-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Oct 29 21:42:02 UTC 2021 Modified Files: src/sys/arch/powerpc/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.25

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

2021-10-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Oct 29 21:42:02 UTC 2021 Modified Files: src/sys/arch/powerpc/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.25

CVS commit: src/sys/dev/sbus

2021-10-29 Thread Michael Lorenz
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 commit: cvs

CVS commit: src/sys/dev/sbus

2021-10-29 Thread Michael Lorenz
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 commit: cvs

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

2021-10-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 29 07:55:04 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_tlb.c Log Message: Fix length of memset in tlb_record_asids To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2021-10-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 29 07:55:04 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_tlb.c Log Message: Fix length of memset in tlb_record_asids To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/lib/libc/string

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:11:57 UTC 2021 Modified Files: src/lib/libc/string: wcsdup.c Log Message: wcsdup(3): use reallocarr to catch integer overflow To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/string/wcsdup.c

CVS commit: src/lib/libc/string

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:11:57 UTC 2021 Modified Files: src/lib/libc/string: wcsdup.c Log Message: wcsdup(3): use reallocarr to catch integer overflow To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/string/wcsdup.c

CVS commit: src/share/man/man4

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:21:28 UTC 2021 Modified Files: src/share/man/man4: pci.4 usb.4 Log Message: Add some missing device drivers to the lists. >From bobs at thelibertytree.org, thanks! To generate a diff of this commit: cvs rdiff -u

CVS commit: src/share/man/man4

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:21:28 UTC 2021 Modified Files: src/share/man/man4: pci.4 usb.4 Log Message: Add some missing device drivers to the lists. >From bobs at thelibertytree.org, thanks! To generate a diff of this commit: cvs rdiff -u