CVS commit: src/sys

2021-02-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Feb 20 09:51:20 UTC 2021 Modified Files: src/sys/dev/dkwedge: dkwedge_rdb.c src/sys/sys: disklabel_rdb.h Log Message: Misc style fixes. No binary changes. - Use uint{32,8}_t instead of unsigned {int, char}. - Sort

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 10:01:27 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c Log Message: lint: clean up check for getopt The original options string is not needed during the check. Having only the unhandled options

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 11:06:56 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: make parsing of GCC line directives stricter The previous code accepted '# 123 "file.c" 23' as specifying a system header, just

CVS commit: src/usr.bin/patch

2021-02-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Feb 20 09:17:13 UTC 2021 Modified Files: src/usr.bin/patch: patch.c Log Message: patch(1): use PATH_MAX for the size of rejname via freebsd, openbsd To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/usr.bin/vis

2021-02-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Feb 20 09:31:51 UTC 2021 Modified Files: src/usr.bin/vis: vis.1 Log Message: fix URL To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/vis/vis.1 Please note that diffs are not public domain; they are

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

2021-02-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Feb 20 08:59:24 UTC 2021 Modified Files: src/tests/usr.bin/patch: t_patch.sh Log Message: patch(1): add test cases for various backup file formats To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys

2021-02-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Feb 20 09:36:31 UTC 2021 Modified Files: src/sys/arch/arc/jazz: if_sn_jazzio.c src/sys/arch/mac68k/nubus: if_sn_nubus.c src/sys/arch/mac68k/obio: if_sn_obio.c src/sys/dev/ic: dp83932.c dp83932var.h Log

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 09:57:02 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c Log Message: lint: fix crash from ckgetopt.c 1.2 and document the data structures To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 09:40:43 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_338.c Log Message: lint: reproduce the crash from ckgetopt.c 1.2 The intention of the getopt check was to analyze only those while loops whose

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 10:12:52 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c Log Message: lint: reduce duplicate code in check for getopt This also changes the conditions to their positive form, which is easier to read. No

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

2021-02-20 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sat Feb 20 18:04:20 UTC 2021 Modified Files: src/sys/arch/m68k/m68k: reenter_syscall.s Log Message: Replace magic numbers with proper macros prepared in assym.h. No binary changes. Note this is a preparation for a possible fix

CVS commit: src

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 18:02:58 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp src/usr.bin/xlint/lint1: ops.def Log Message: lint: add test for using a bool as array

CVS import: external/bsd/byacc/dist

2021-02-20 Thread Christos Zoulas
Module Name:external Committed By: christos Date: Sat Feb 20 20:28:12 UTC 2021 Update of /cvsroot/external/bsd/byacc/dist In directory ivanova.netbsd.org:/tmp/cvs-serv24788 Log Message: 2021-01-09 Thomas E. Dickey * package/debian/copyright, VERSION,

CVS commit: src/sys/arch

2021-02-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Feb 20 14:51:07 UTC 2021 Modified Files: src/sys/arch/aarch64/include: cpu.h src/sys/arch/arm/include: cpu.h src/sys/arch/arm/pic: pic.c Log Message: Move 'struct pic_pending' from percpu to struct cpu_info.

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 17:24:37 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: define debug_named_member only in debug mode In non-debug mode it was an expensive no-op. To generate a diff of this commit: cvs

CVS commit: src/tests/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 18:49:27 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp Log Message: lint: enable heuristics in test for strict bool mode This is a preparation for

CVS commit: src/tests/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 18:52:58 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp Log Message: lint: add test for 'do { ... } while (false)' in strict bool mode Right now, this

CVS commit: src

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 18:55:10 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp src/usr.bin/xlint/lint1: tree.c Log Message: lint: do not warn about 'do { ... } while

CVS commit: src/usr.bin/xlint

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 19:10:38 UTC 2021 Modified Files: src/usr.bin/xlint/common: inittyp.c src/usr.bin/xlint/lint1: init.c tree.c Log Message: lint: fix lint warnings No functional change. To generate a diff of this commit: cvs

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

2021-02-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Feb 20 19:30:46 UTC 2021 Modified Files: src/sys/arch/arm/pic: pic.c pic_splfuncs.c picvar.h Log Message: Inline "pic_do_pending_ints" in splx and check ci_pending_ipls to optimize the common case (hw priority, no cascaded

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 16:03:56 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h init.c Log Message: lint: rename mkinit to init_using_expr No functional change outside debug mode. To generate a diff of this commit:

CVS commit: src/tests/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 16:55:32 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_init_pop_member.c Log Message: lint: add machine-readable expectations to test for initializer To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 17:44:39 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: in debug mode, print the initialization stack This is the central data structure of the initializations, it keeps track of the

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

2021-02-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Feb 20 19:35:07 UTC 2021 Modified Files: src/sys/arch/arm/pic: pic_splfuncs.c Log Message: Adjust ci_intr_depth when processing pending ints To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 19:56:44 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: fix lint warning 'expression has null effect' To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

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

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 22:18:32 UTC 2021 Modified Files: src/tests/usr.bin/xlint: check-expect.lua Log Message: lint: ensure that '# line' directives in tests are correct It's too easy to forget one of them when adding or removing some

CVS commit: src/external/gpl3/binutils/dist/ld/emulparams

2021-02-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Feb 20 14:48:07 UTC 2021 Modified Files: src/external/gpl3/binutils/dist/ld/emulparams: elf32bmip.sh elf32bmipn32-defs.sh Log Message: Reapply the following change - Simon's first attempt had a missing ';' release

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 17:12:00 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: document an assumption that has turned wrong with C99 To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 18:10:23 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: Makefile Log Message: lint: document how to compile lint1 in debug mode To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

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

2021-02-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Feb 20 19:27:35 UTC 2021 Modified Files: src/sys/arch/aarch64/include: locore.h Log Message: daif_disable: since we read bits before setting them, if the current state matches the desired state we can skip the daif write

CVS import: src/external/bsd/byacc/dist

2021-02-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Feb 20 20:30:16 UTC 2021 Update of /cvsroot/src/external/bsd/byacc/dist In directory ivanova.netbsd.org:/tmp/cvs-serv8719 Log Message: 2021-01-09 Thomas E. Dickey * package/debian/copyright, VERSION, package/byacc.spec,

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

2021-02-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Feb 20 22:53:31 UTC 2021 Modified Files: src/sys/arch/arm/pic: pic_splfuncs.c Log Message: Only disable/enable interrupts if processing pending interrupts, and inline pic_set_pending_psw. To generate a diff of this

CVS commit: src/tests/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 16:51:18 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_init_pop_member.c Log Message: lint: fix typo in test for pop_member The leader of a city should rather be a mayor than a major. To generate a diff

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

2021-02-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Feb 20 18:18:53 UTC 2021 Modified Files: src/sys/arch/arm/pic: picvar.h Log Message: remove "pic_do_pending_int() prototype; no matching function To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/tests/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 22:31:20 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_anon_union.c d_c99_nested_struct.c d_c99_recursive_init.c d_c99_struct_init.c d_c99_union_init1.c d_c99_union_init3.c

CVS commit: src/doc

2021-02-20 Thread Christos Zoulas
sui 20210207] bind: Import version 9.16.12. [christos 20210219] OpenSSL: Imported 1.1.1j. [christos 20210219] + byacc: Update to 20210109. [christos 20210220]

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 15:23:07 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c Log Message: lint: add hierarchical debug logging for initializations No functional change for default mode. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci

2021-02-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Feb 20 13:31:35 UTC 2021 Modified Files: src/sys/dev/pci: if_mcx.c Log Message: Sync with OpenBSD r1.99: move the rearming of the cq after the refill of the rq. this is the only real diff we have left outstanding on

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 20 16:34:57 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: externs1.h init.c tree.c Log Message: lint: extend debugging for initializing objects No functional change outside debug mode. To generate a diff of this

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

2021-02-20 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Feb 21 07:23:41 UTC 2021 Modified Files: src/sys/arch/m68k/m68k: reenter_syscall.s Log Message: Consistently use motorola style. No binary changes. Seems missed in rev 1.3:

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 07:21:57 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: externs1.h init.c tree.c Log Message: lint: indent node details in debug mode To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69

CVS commit: src/usr.bin/xlint/lint1

2021-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 21 07:59:17 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: externs1.h Log Message: lint: fix definition of debug_node in non-debug mode To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70

CVS commit: src/external/bsd/byacc/dist

2021-02-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Feb 21 00:36:06 UTC 2021 Modified Files: src/external/bsd/byacc/dist: main.c Log Message: set explicit_file_name when we use getopt. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/distrib/sets/lists

2021-02-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Feb 21 02:29:57 UTC 2021 Modified Files: src/distrib/sets/lists/xbase: md.evbarm src/distrib/sets/lists/xdebug: md.evbarm Log Message: Add missing compatx11file To generate a diff of this commit: cvs rdiff -u