CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:41:57 UTC 2021 Modified Files: src/usr.bin/indent: indent.h Log Message: indent: add reminder to make the code understandable for humans To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:41:57 UTC 2021 Modified Files: src/usr.bin/indent: indent.h Log Message: indent: add reminder to make the code understandable for humans To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:37:21 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h lexi.c Log Message: indent: rename ps.last_u_d to match its comment No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:37:21 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h lexi.c Log Message: indent: rename ps.last_u_d to match its comment No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:26:46 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h parse.c Log Message: indent: rename parser stack variables No functional change. To generate a diff of this commit: cvs rdiff -u -r1.142

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:26:46 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h parse.c Log Message: indent: rename parser stack variables No functional change. To generate a diff of this commit: cvs rdiff -u -r1.142

CVS commit: src

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:14:21 UTC 2021 Modified Files: src/tests/usr.bin/indent: opt_bacc.c src/usr.bin/indent: indent.c indent.h io.c pr_comment.c Log Message: indent: rename blankline_requested variables The words 'prefix' and

CVS commit: src

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:14:21 UTC 2021 Modified Files: src/tests/usr.bin/indent: opt_bacc.c src/usr.bin/indent: indent.c indent.h io.c pr_comment.c Log Message: indent: rename blankline_requested variables The words 'prefix' and

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:07:08 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: invert condition in process_newline It's hard to follow a condition that combines many negated terms with '||'. Group the conditions

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:07:08 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: invert condition in process_newline It's hard to follow a condition that combines many negated terms with '||'. Group the conditions

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:00:37 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h io.c Log Message: indent: rename next_blank_lines to blank_lines_to_output The previous name was already an improvement over the name before that

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Oct 20 05:00:37 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h io.c Log Message: indent: rename next_blank_lines to blank_lines_to_output The previous name was already an improvement over the name before that

CVS commit: src/lib/libc/sys

2021-10-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 03:26:20 UTC 2021 Modified Files: src/lib/libc/sys: kqueue.2 Log Message: Oops, forgot to note the history of NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/sys

2021-10-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 03:26:20 UTC 2021 Modified Files: src/lib/libc/sys: kqueue.2 Log Message: Oops, forgot to note the history of NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2021-10-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 03:13:14 UTC 2021 Modified Files: src/sys/kern: vnode_if.c src/sys/rump/include/rump: rumpvnode_if.h src/sys/rump/librump/rumpvfs: rumpvnode_if.c src/sys/sys: vnode_if.h Log Message: Regen for:

CVS commit: src/sys

2021-10-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 03:13:14 UTC 2021 Modified Files: src/sys/kern: vnode_if.c src/sys/rump/include/rump: rumpvnode_if.h src/sys/rump/librump/rumpvfs: rumpvnode_if.c src/sys/sys: vnode_if.h Log Message: Regen for:

CVS commit: src/sys/sys

2021-10-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 03:09:45 UTC 2021 Modified Files: src/sys/sys: param.h Log Message: Overhaul of the EVFILT_VNODE kevent(2) filter: - Centralize vnode kevent handling in the VOP_*() wrappers, rather than forcing each individual

CVS commit: src/sys/sys

2021-10-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 03:09:45 UTC 2021 Modified Files: src/sys/sys: param.h Log Message: Overhaul of the EVFILT_VNODE kevent(2) filter: - Centralize vnode kevent handling in the VOP_*() wrappers, rather than forcing each individual

CVS commit: src

2021-10-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 03:08:19 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/lib/libc/sys: kqueue.2 src/sys/coda: coda_vnops.c src/sys/fs/msdosfs: msdosfs_vnops.c

CVS commit: src

2021-10-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 03:08:19 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/lib/libc/sys: kqueue.2 src/sys/coda: coda_vnops.c src/sys/fs/msdosfs: msdosfs_vnops.c

CVS commit: src/sys/dev/pci

2021-10-19 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Oct 20 02:12:37 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Uniform INTx/MSI handler's Tx/Rx behavior to MSI-X's one. Because the difference has caused INTx/MSI own bugs. To generate a diff of this

CVS commit: src/sys/dev/pci

2021-10-19 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Oct 20 02:12:37 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Uniform INTx/MSI handler's Tx/Rx behavior to MSI-X's one. Because the difference has caused INTx/MSI own bugs. To generate a diff of this

CVS commit: src/sys/dev/pci

2021-10-19 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Oct 20 02:05:15 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix Tx stall, reported and implemented original patch by chs@n.o, thanks. Check if_snd queue because if.c::if_transmit() doesn't call

CVS commit: src/sys/dev/pci

2021-10-19 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Oct 20 02:05:15 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix Tx stall, reported and implemented original patch by chs@n.o, thanks. Check if_snd queue because if.c::if_transmit() doesn't call

CVS commit: src/sys

2021-10-19 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Oct 20 01:09:49 UTC 2021 Modified Files: src/sys/arch/evbarm/dev: plcom.c src/sys/dev/ic: com.c Log Message: - microtime -> microuptime - avoid kpause with timeo=0 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2021-10-19 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Oct 20 01:09:49 UTC 2021 Modified Files: src/sys/arch/evbarm/dev: plcom.c src/sys/dev/ic: com.c Log Message: - microtime -> microuptime - avoid kpause with timeo=0 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 21:39:19 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: always keep next_blank_lines >= 0 No functional change. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97

CVS commit: src/usr.bin/indent

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 21:39:19 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: always keep next_blank_lines >= 0 No functional change. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97

CVS commit: src/lib/libform

2021-10-19 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Tue Oct 19 21:22:20 UTC 2021 Modified Files: src/lib/libform: internals.c Log Message: Fix for PR lib/47397 Fix a misinterpretation of the role of field fore and back. Now field pad is rendered in the back attribute always

CVS commit: src/lib/libform

2021-10-19 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Tue Oct 19 21:22:20 UTC 2021 Modified Files: src/lib/libform: internals.c Log Message: Fix for PR lib/47397 Fix a misinterpretation of the role of field fore and back. Now field pad is rendered in the back attribute always

CVS commit: src

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 21:21:07 UTC 2021 Modified Files: src/tests/usr.bin/indent: indent_off_on.c src/usr.bin/indent: io.c Log Message: indent: use simpler code for copying the input buffer In debug mode, this reduces the amount of

CVS commit: src

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 21:21:07 UTC 2021 Modified Files: src/tests/usr.bin/indent: indent_off_on.c src/usr.bin/indent: io.c Log Message: indent: use simpler code for copying the input buffer In debug mode, this reduces the amount of

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

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 20:41:42 UTC 2021 Modified Files: src/tests/usr.bin/indent: indent_off_on.c token_comment.c Log Message: tests/indent: move tests for indent comments The special INDENT ON and INDENT OFF comments look like ordinary

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

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 20:41:42 UTC 2021 Modified Files: src/tests/usr.bin/indent: indent_off_on.c token_comment.c Log Message: tests/indent: move tests for indent comments The special INDENT ON and INDENT OFF comments look like ordinary

CVS commit: src

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 20:20:25 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile Added Files: src/tests/usr.bin/indent: indent_off_on.c Log Message: tests/indent: add test for

CVS commit: src

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 20:20:25 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile Added Files: src/tests/usr.bin/indent: indent_off_on.c Log Message: tests/indent: add test for

CVS commit: src/sys/netinet

2021-10-19 Thread Roy Marples
Module Name:src Committed By: roy Date: Tue Oct 19 20:01:09 UTC 2021 Modified Files: src/sys/netinet: in_pcb.c Log Message: netinet: Allow binding the unspecified address when no addresses exist You should always be able to bind to the unspecified address even if no

CVS commit: src/sys/netinet

2021-10-19 Thread Roy Marples
Module Name:src Committed By: roy Date: Tue Oct 19 20:01:09 UTC 2021 Modified Files: src/sys/netinet: in_pcb.c Log Message: netinet: Allow binding the unspecified address when no addresses exist You should always be able to bind to the unspecified address even if no

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

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 19:59:05 UTC 2021 Modified Files: src/tests/usr.bin/indent: Makefile Log Message: tests/indent: make add-test generate flexible tests They need fewer source files and are more versatile. To generate a diff of this

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

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 19:59:05 UTC 2021 Modified Files: src/tests/usr.bin/indent: Makefile Log Message: tests/indent: make add-test generate flexible tests They need fewer source files and are more versatile. To generate a diff of this

CVS commit: src

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 18:29:59 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c src/usr.bin/indent: indent.c io.c Log Message: indent: if a file ends with indent off, don't add space-newline To generate a diff of

CVS commit: src

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 18:29:59 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c src/usr.bin/indent: indent.c io.c Log Message: indent: if a file ends with indent off, don't add space-newline To generate a diff of

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

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 18:18:23 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c Log Message: tests/indent: remove main code from test for token_comment I had indented to use that code for completing the list of missing

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

2021-10-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Oct 19 18:18:23 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c Log Message: tests/indent: remove main code from test for token_comment I had indented to use that code for completing the list of missing

CVS commit: src/usr.bin/make/unit-tests

2021-10-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Oct 19 15:59:26 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile varname-empty.exp Log Message: Replace ${.OBJDIR} with for consistent results. If we replace ${.OBJDIR} with some tests produce different results

CVS commit: src/usr.bin/make/unit-tests

2021-10-19 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Oct 19 15:59:26 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile varname-empty.exp Log Message: Replace ${.OBJDIR} with for consistent results. If we replace ${.OBJDIR} with some tests produce different results

CVS commit: [netbsd-9] src/doc

2021-10-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Oct 19 10:56:08 UTC 2021 Modified Files: src/doc [netbsd-9]: CHANGES-9.3 Log Message: Ticket #1361 To generate a diff of this commit: cvs rdiff -u -r1.1.2.38 -r1.1.2.39 src/doc/CHANGES-9.3 Please note that diffs are not

CVS commit: [netbsd-9] src/doc

2021-10-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Oct 19 10:56:08 UTC 2021 Modified Files: src/doc [netbsd-9]: CHANGES-9.3 Log Message: Ticket #1361 To generate a diff of this commit: cvs rdiff -u -r1.1.2.38 -r1.1.2.39 src/doc/CHANGES-9.3 Please note that diffs are not

CVS commit: [netbsd-9] src/sys/dev/raidframe

2021-10-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Oct 19 10:55:15 UTC 2021 Modified Files: src/sys/dev/raidframe [netbsd-9]: rf_diskqueue.c rf_netbsd.h Log Message: Pull up following revision(s) (requested by oster in ticket #1361): sys/dev/raidframe/rf_netbsd.h:

CVS commit: [netbsd-9] src/sys/dev/raidframe

2021-10-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Oct 19 10:55:15 UTC 2021 Modified Files: src/sys/dev/raidframe [netbsd-9]: rf_diskqueue.c rf_netbsd.h Log Message: Pull up following revision(s) (requested by oster in ticket #1361): sys/dev/raidframe/rf_netbsd.h:

CVS commit: src/sys/net/lagg

2021-10-19 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Oct 19 08:02:42 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c Log Message: lagg: reject a vlan interface that is not configured The vlan I/F has no MAC address used in LACP. To generate a diff of this commit: cvs

CVS commit: src/sys/net/lagg

2021-10-19 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Oct 19 08:02:42 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c Log Message: lagg: reject a vlan interface that is not configured The vlan I/F has no MAC address used in LACP. To generate a diff of this commit: cvs

CVS commit: src/tests/net/if_lagg

2021-10-19 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Oct 19 07:57:15 UTC 2021 Modified Files: src/tests/net/if_lagg: t_lagg.sh Log Message: added test cases for lagg(4) on l2tp(4) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/net/if_lagg/t_lagg.sh

CVS commit: src/tests/net/if_lagg

2021-10-19 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Oct 19 07:57:15 UTC 2021 Modified Files: src/tests/net/if_lagg: t_lagg.sh Log Message: added test cases for lagg(4) on l2tp(4) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/net/if_lagg/t_lagg.sh

CVS commit: src/sys/net/lagg

2021-10-19 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Oct 19 07:52:33 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c if_lagg_lacp.c if_laggproto.h Log Message: lagg: support l2tp(4) aggregation - Accept "ifconfig lagg* laggport l2tp*" - Set promiscuous mode when the

CVS commit: src/sys/net/lagg

2021-10-19 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Oct 19 07:52:33 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c if_lagg_lacp.c if_laggproto.h Log Message: lagg: support l2tp(4) aggregation - Accept "ifconfig lagg* laggport l2tp*" - Set promiscuous mode when the

CVS commit: src/sys/net/lagg

2021-10-19 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Oct 19 07:40:53 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c Log Message: lagg: clear I/G bitg and set G/L bit in a generated MAC address To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/net/lagg

2021-10-19 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Tue Oct 19 07:40:53 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c Log Message: lagg: clear I/G bitg and set G/L bit in a generated MAC address To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/lib/libcurses

2021-10-19 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Tue Oct 19 06:41:03 UTC 2021 Modified Files: src/lib/libcurses: addnstr.c border.c move.c newwin.c Log Message: Add a bit more debug. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libcurses/addnstr.c cvs

CVS commit: src/lib/libcurses

2021-10-19 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Tue Oct 19 06:41:03 UTC 2021 Modified Files: src/lib/libcurses: addnstr.c border.c move.c newwin.c Log Message: Add a bit more debug. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libcurses/addnstr.c cvs

CVS commit: src/lib/libcurses

2021-10-19 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Tue Oct 19 06:37:29 UTC 2021 Modified Files: src/lib/libcurses: getch.c Log Message: Fix for PR pkg/55931 Don't move the cursor when getch is called if input is not going to be echoed. Lynx uses the cursor to mark the current

CVS commit: src/lib/libcurses

2021-10-19 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Tue Oct 19 06:37:29 UTC 2021 Modified Files: src/lib/libcurses: getch.c Log Message: Fix for PR pkg/55931 Don't move the cursor when getch is called if input is not going to be echoed. Lynx uses the cursor to mark the current