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

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 20:49:26 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_222.c msg_222.exp msg_226.c msg_226.exp msg_233.c msg_233.exp msg_235.c msg_235.exp msg_252.c msg_252.exp msg_257.c

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

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 20:49:26 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_222.c msg_222.exp msg_226.c msg_226.exp msg_233.c msg_233.exp msg_235.c msg_235.exp msg_252.c msg_252.exp msg_257.c

CVS commit: src

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 20:19:46 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_078.c msg_078.exp src/usr.bin/xlint/lint1: err.c Log Message: lint: remove unused message about nonportable character escape It has not been

CVS commit: src

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 20:19:46 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_078.c msg_078.exp src/usr.bin/xlint/lint1: err.c Log Message: lint: remove unused message about nonportable character escape It has not been

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

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 20:16:50 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_020.c msg_020.exp msg_024.c msg_024.exp msg_025.c msg_025.exp msg_033.c msg_033.exp msg_038.c msg_038.exp msg_049.c

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

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 20:16:50 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_020.c msg_020.exp msg_024.c msg_024.exp msg_025.c msg_025.exp msg_033.c msg_033.exp msg_038.c msg_038.exp msg_049.c

CVS commit: src

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 19:50:44 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_179.c msg_179.exp src/usr.bin/xlint/lint1: err.c Log Message: lint: remove unused message for struct without named members Lint has not

CVS commit: src

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 19:50:44 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_179.c msg_179.exp src/usr.bin/xlint/lint1: err.c Log Message: lint: remove unused message for struct without named members Lint has not

CVS commit: src/lib/libterminfo

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 18:40:28 UTC 2021 Modified Files: src/lib/libterminfo: tparm.c Log Message: libterminfo: remove redundant lint annotations Since 2021-02-28, lint does not warn about constant conditions if they involve sizeof. The

CVS commit: src/lib/libterminfo

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 18:40:28 UTC 2021 Modified Files: src/lib/libterminfo: tparm.c Log Message: libterminfo: remove redundant lint annotations Since 2021-02-28, lint does not warn about constant conditions if they involve sizeof. The

CVS commit: src/usr.bin/tabs

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 18:28:41 UTC 2021 Modified Files: src/usr.bin/tabs: tabs.c Log Message: tabs: fix lint warnings about ctype functions and conversions lines 100, 157, 206: conversion from 'long' to 'int' may lose accuracy [132] line

CVS commit: src/usr.bin/tabs

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 18:28:41 UTC 2021 Modified Files: src/usr.bin/tabs: tabs.c Log Message: tabs: fix lint warnings about ctype functions and conversions lines 100, 157, 206: conversion from 'long' to 'int' may lose accuracy [132] line

CVS commit: src/usr.bin/stat

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 18:11:07 UTC 2021 Modified Files: src/usr.bin/stat: stat.c Log Message: stat: fix undefined behavior when calling ctype functions lint says: warning: argument to 'function from ' must be cast to 'unsigned char', not

CVS commit: src/usr.bin/stat

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 18:11:07 UTC 2021 Modified Files: src/usr.bin/stat: stat.c Log Message: stat: fix undefined behavior when calling ctype functions lint says: warning: argument to 'function from ' must be cast to 'unsigned char', not

CVS commit: src/usr.bin/sockstat

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 18:09:30 UTC 2021 Modified Files: src/usr.bin/sockstat: sockstat.c Log Message: sockstat: fix undefined behavior when calling ctype functions lint says: warning: argument to 'function from ' must be cast to 'unsigned

CVS commit: src/usr.bin/sockstat

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 18:09:30 UTC 2021 Modified Files: src/usr.bin/sockstat: sockstat.c Log Message: sockstat: fix undefined behavior when calling ctype functions lint says: warning: argument to 'function from ' must be cast to 'unsigned

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

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:59:46 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_117.c msg_117.exp Log Message: tests/lint: document correct lint warnings for '>>' The previous commit contained wrong assumptions. Upon closer

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

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:59:46 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_117.c msg_117.exp Log Message: tests/lint: document correct lint warnings for '>>' The previous commit contained wrong assumptions. Upon closer

CVS commit: src/usr.bin/base64

2021-08-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Aug 27 17:53:13 UTC 2021 Modified Files: src/usr.bin/base64: base64.c Log Message: make ignore whitespace the default To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/base64/base64.c Please note

CVS commit: src/usr.bin/base64

2021-08-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Aug 27 17:53:13 UTC 2021 Modified Files: src/usr.bin/base64: base64.c Log Message: make ignore whitespace the default To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/base64/base64.c Please note

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

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:49:32 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_117.c msg_117.exp Log Message: tests/lint: test wrong warning for bitwise '>>' Seen in /usr/include/netbt/hci.h, function hci_filter_set. To

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

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:49:32 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_117.c msg_117.exp Log Message: tests/lint: test wrong warning for bitwise '>>' Seen in /usr/include/netbt/hci.h, function hci_filter_set. To

CVS commit: src/usr.bin/sdpquery

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:41:39 UTC 2021 Modified Files: src/usr.bin/sdpquery: print.c Log Message: sdpquery: fix undefined behavior when calling ctype functions lint says: warning: argument to 'function from ' must be cast to 'unsigned

CVS commit: src/usr.bin/sdpquery

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:41:39 UTC 2021 Modified Files: src/usr.bin/sdpquery: print.c Log Message: sdpquery: fix undefined behavior when calling ctype functions lint says: warning: argument to 'function from ' must be cast to 'unsigned

CVS commit: src/usr.bin/sdiff

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:38:57 UTC 2021 Modified Files: src/usr.bin/sdiff: sdiff.c Log Message: sdiff: fix undefined behavior for ctype functions lint says: warning: argument to 'function from ' must be cast to 'unsigned char', not to

CVS commit: src/usr.bin/sdiff

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:38:57 UTC 2021 Modified Files: src/usr.bin/sdiff: sdiff.c Log Message: sdiff: fix undefined behavior for ctype functions lint says: warning: argument to 'function from ' must be cast to 'unsigned char', not to

CVS commit: src/usr.bin/sdiff

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:36:37 UTC 2021 Modified Files: src/usr.bin/sdiff: edit.c Log Message: sdiff: fix undefined behavior when parsing edit commands lint says: warning: argument to 'function from ' must be cast to 'unsigned char', not

CVS commit: src/usr.bin/sdiff

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:36:37 UTC 2021 Modified Files: src/usr.bin/sdiff: edit.c Log Message: sdiff: fix undefined behavior when parsing edit commands lint says: warning: argument to 'function from ' must be cast to 'unsigned char', not

CVS commit: src/usr.bin/ftp

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:35:03 UTC 2021 Modified Files: src/usr.bin/ftp: util.c Log Message: ftp: fix undefined behavior when parsing FEAT lint says: warning: argument to 'function from ' must be cast to 'unsigned char', not to 'int' [342]

CVS commit: src/usr.bin/ftp

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:35:03 UTC 2021 Modified Files: src/usr.bin/ftp: util.c Log Message: ftp: fix undefined behavior when parsing FEAT lint says: warning: argument to 'function from ' must be cast to 'unsigned char', not to 'int' [342]

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

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:31:48 UTC 2021 Modified Files: src/external/bsd/bzip2/dist: bzip2.c bzlib.c Log Message: bzip2: fix lint warning about wrong usage of ctype.h functions https://sourceware.org/bugzilla/show_bug.cgi?id=28283 To

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

2021-08-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 27 17:31:48 UTC 2021 Modified Files: src/external/bsd/bzip2/dist: bzip2.c bzlib.c Log Message: bzip2: fix lint warning about wrong usage of ctype.h functions https://sourceware.org/bugzilla/show_bug.cgi?id=28283 To

CVS commit: src/sys/arch/cats/cats

2021-08-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Aug 27 09:29:05 UTC 2021 Modified Files: src/sys/arch/cats/cats: cats_machdep.c Log Message: Do the VPRINTF thing and #include "opt_arm/debug.h" for VERBOSE_INIT_ARM To generate a diff of this commit: cvs rdiff -u -r1.91

CVS commit: src/sys/arch/cats/cats

2021-08-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Aug 27 09:29:05 UTC 2021 Modified Files: src/sys/arch/cats/cats: cats_machdep.c Log Message: Do the VPRINTF thing and #include "opt_arm/debug.h" for VERBOSE_INIT_ARM To generate a diff of this commit: cvs rdiff -u -r1.91

CVS commit: src/sys/arch/cats/cats

2021-08-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Aug 27 09:23:28 UTC 2021 Modified Files: src/sys/arch/cats/cats: cats_machdep.c Log Message: initarm_common already calls db_machine_init, so don't do it for a second time otherwise the handlers list just loops. To generate

CVS commit: src/sys/arch/cats/cats

2021-08-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Aug 27 09:23:28 UTC 2021 Modified Files: src/sys/arch/cats/cats: cats_machdep.c Log Message: initarm_common already calls db_machine_init, so don't do it for a second time otherwise the handlers list just loops. To generate

CVS commit: src/sys/arch/cats/cats

2021-08-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Aug 27 09:14:55 UTC 2021 Modified Files: src/sys/arch/cats/cats: cats_machdep.c Log Message: lower case for hex values. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/arch/cats/cats/cats_machdep.c

CVS commit: src/sys/arch/cats/cats

2021-08-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Aug 27 09:14:55 UTC 2021 Modified Files: src/sys/arch/cats/cats: cats_machdep.c Log Message: lower case for hex values. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/arch/cats/cats/cats_machdep.c

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

2021-08-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Aug 27 09:11:52 UTC 2021 Modified Files: src/sys/arch/arm/include: undefined.h Log Message: KNF a comment To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/include/undefined.h Please note that

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

2021-08-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Aug 27 09:11:52 UTC 2021 Modified Files: src/sys/arch/arm/include: undefined.h Log Message: KNF a comment To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/include/undefined.h Please note that