CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 08:03:19 UTC 2024 Modified Files: src/usr.bin/make: dir.c job.c parse.c suff.c var.c Log Message: make: fix some more memory leaks To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293

CVS commit: src/usr.bin/make

2024-05-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 08:03:19 UTC 2024 Modified Files: src/usr.bin/make: dir.c job.c parse.c suff.c var.c Log Message: make: fix some more memory leaks To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 00:00:25 UTC 2024 Modified Files: src/usr.bin/make: cond.c dir.c for.c make.c make.h parse.c targ.c test-variants.mk var.c Log Message: make: fix a few more memory leaks To generate a diff of this commit:

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 25 00:00:25 UTC 2024 Modified Files: src/usr.bin/make: cond.c dir.c for.c make.c make.h parse.c targ.c test-variants.mk var.c Log Message: make: fix a few more memory leaks To generate a diff of this commit:

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 23:02:46 UTC 2024 Modified Files: src/usr.bin/make: main.c test-variants.mk var.c src/usr.bin/make/unit-tests: Makefile Log Message: make: in -DCLEANUP mode, free variables and their values The variables in

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 23:02:46 UTC 2024 Modified Files: src/usr.bin/make: main.c test-variants.mk var.c src/usr.bin/make/unit-tests: Makefile Log Message: make: in -DCLEANUP mode, free variables and their values The variables in

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 22:54:07 UTC 2024 Modified Files: src/usr.bin/make: hash.c Log Message: make: remove dead code from HashTable_DeleteEntry To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/usr.bin/make/hash.c Please

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 22:52:25 UTC 2024 Modified Files: src/usr.bin/make: dir.c Log Message: make: remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.290 -r1.291 src/usr.bin/make/dir.c Please note that diffs

CVS commit: src/usr.bin/make

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 22:52:25 UTC 2024 Modified Files: src/usr.bin/make: dir.c Log Message: make: remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.290 -r1.291 src/usr.bin/make/dir.c Please note that diffs

CVS commit: src/sys/arch/pmax/pmax

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 19:00:28 UTC 2024 Modified Files: src/sys/arch/pmax/pmax: kn230.h Log Message: pmax/kn230.h: fix typos and spacing in comments To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/arch/pmax/pmax

2024-05-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 24 19:00:28 UTC 2024 Modified Files: src/sys/arch/pmax/pmax: kn230.h Log Message: pmax/kn230.h: fix typos and spacing in comments To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/lib/libc/gdtoa

2024-05-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon May 13 21:17:24 UTC 2024 Modified Files: src/lib/libc/gdtoa: Makefile.inc Log Message: libc/hdtoa: suppress lint warning about possible accuracy loss on sparc64: hdtoa.c(340): warning: conversion from 'unsigned long' to

CVS commit: src/lib/libc/gdtoa

2024-05-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon May 13 21:17:24 UTC 2024 Modified Files: src/lib/libc/gdtoa: Makefile.inc Log Message: libc/hdtoa: suppress lint warning about possible accuracy loss on sparc64: hdtoa.c(340): warning: conversion from 'unsigned long' to

CVS commit: src/usr.sbin/flashctl

2024-05-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon May 13 20:38:05 UTC 2024 Modified Files: src/usr.sbin/flashctl: Makefile flashctl.c Log Message: usr.sbin/flashctl: skip lint's strict bool mode with Clang The strict bool mode is already checked in GCC mode, so restore the

CVS commit: src/usr.sbin/flashctl

2024-05-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon May 13 20:38:05 UTC 2024 Modified Files: src/usr.sbin/flashctl: Makefile flashctl.c Log Message: usr.sbin/flashctl: skip lint's strict bool mode with Clang The strict bool mode is already checked in GCC mode, so restore the

CVS commit: src/tests/lib/libm

2024-05-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon May 13 20:28:15 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: tests/t_hypot: actually add nan test To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libm/t_hypot.c Please note

CVS commit: src/tests/lib/libm

2024-05-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon May 13 20:28:15 UTC 2024 Modified Files: src/tests/lib/libm: t_hypot.c Log Message: tests/t_hypot: actually add nan test To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libm/t_hypot.c Please note

lint's strict bool mode (was: Re: CVS commit: src/usr.sbin/flashctl)

2024-05-13 Thread Roland Illig
Am 13.05.2024 um 16:06 schrieb Taylor R Campbell: >> Module Name:src >> Committed By: rillig >> Date: Sun May 12 19:03:55 UTC 2024 >> >> Modified Files: >> src/usr.sbin/flashctl: flashctl.c >> >> Log Message: >> flashctl: fix lint's strict bool mode with Clang preprocessor

CVS commit: src/usr.sbin/flashctl

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 19:03:55 UTC 2024 Modified Files: src/usr.sbin/flashctl: flashctl.c Log Message: flashctl: fix lint's strict bool mode with Clang preprocessor Treating the return value from the character classification functions as

CVS commit: src/usr.sbin/flashctl

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 19:03:55 UTC 2024 Modified Files: src/usr.sbin/flashctl: flashctl.c Log Message: flashctl: fix lint's strict bool mode with Clang preprocessor Treating the return value from the character classification functions as

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

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 19:00:10 UTC 2024 Modified Files: src/usr.bin/xlint/lint2: Makefile Log Message: lint: remove redundant LINTFLAGS for lint2 The -T flag is already provided by ../Makefile.inc, along with several other flags. To

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

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 19:00:10 UTC 2024 Modified Files: src/usr.bin/xlint/lint2: Makefile Log Message: lint: remove redundant LINTFLAGS for lint2 The -T flag is already provided by ../Makefile.inc, along with several other flags. To

CVS commit: src/usr.bin/xlint

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 18:49:36 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: cksnprintb.c decl.c emit1.c err.c lex.c src/usr.bin/xlint/lint2: chk.c emit2.c read.c

CVS commit: src/usr.bin/xlint

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 18:49:36 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: cksnprintb.c decl.c emit1.c err.c lex.c src/usr.bin/xlint/lint2: chk.c emit2.c read.c

CVS commit: src/usr.bin/xlint

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 18:00:59 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: externs1.h main1.c src/usr.bin/xlint/xlint: xlint.c Log Message: lint: remove unused flag '-u' from lint1 This flag is completely handled by lint2.

CVS commit: src/usr.bin/xlint

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 18:00:59 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: externs1.h main1.c src/usr.bin/xlint/xlint: xlint.c Log Message: lint: remove unused flag '-u' from lint1 This flag is completely handled by lint2.

CVS commit: src

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 17:55:37 UTC 2024 Modified Files: src/bin: Makefile.inc src/sbin: Makefile.inc src/usr.bin: Makefile.inc src/usr.sbin: Makefile.inc Log Message: lint: suppress "used but not defined" for bin,

CVS commit: src

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 17:55:37 UTC 2024 Modified Files: src/bin: Makefile.inc src/sbin: Makefile.inc src/usr.bin: Makefile.inc src/usr.sbin: Makefile.inc Log Message: lint: suppress "used but not defined" for bin,

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

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 12:32:39 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c Log Message: lint: condense code for strict bool mode To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/xlint/lint1/ckbool.c

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

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 12:32:39 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c Log Message: lint: condense code for strict bool mode To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/xlint/lint1/ckbool.c

CVS commit: src

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 12:28:35 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict_syshdr.c src/usr.bin/xlint/lint1: ckbool.c externs1.h func.c Log Message: lint: in strict bool

CVS commit: src

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 12:28:35 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict_syshdr.c src/usr.bin/xlint/lint1: ckbool.c externs1.h func.c Log Message: lint: in strict bool

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

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 11:46:14 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict_syshdr.c Log Message: tests/lint: clean up tests for strict bool mode To generate a diff of this

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

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 11:46:14 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict_syshdr.c Log Message: tests/lint: clean up tests for strict bool mode To generate a diff of this

CVS commit: src/lib/libc/gen

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 10:58:58 UTC 2024 Modified Files: src/lib/libc/gen: pwcache.c Log Message: libc/pwcache.c: remove stray semicolon from do-while-0 macro To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

CVS commit: src/lib/libc/gen

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 10:58:58 UTC 2024 Modified Files: src/lib/libc/gen: pwcache.c Log Message: libc/pwcache.c: remove stray semicolon from do-while-0 macro To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

CVS commit: src/sys/sys

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 10:45:13 UTC 2024 Modified Files: src/sys/sys: lock.h Log Message: sys/lock.h: remove stray semicolon from SPINLOCK_BACKOFF macro To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys/sys/lock.h

CVS commit: src/sys/sys

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 10:45:13 UTC 2024 Modified Files: src/sys/sys: lock.h Log Message: sys/lock.h: remove stray semicolon from SPINLOCK_BACKOFF macro To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys/sys/lock.h

CVS commit: src/include

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 10:41:23 UTC 2024 Modified Files: src/include: bitstring.h Log Message: include/bitstring.h: remove CONSTCOND comment from do-while-0 loop Lint doesn't need this comment anymore, as there is nothing surprising or

CVS commit: src/include

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 10:41:23 UTC 2024 Modified Files: src/include: bitstring.h Log Message: include/bitstring.h: remove CONSTCOND comment from do-while-0 loop Lint doesn't need this comment anymore, as there is nothing surprising or

CVS commit: src/sys/sys

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 10:38:03 UTC 2024 Modified Files: src/sys/sys: module_hook.h Log Message: sys/module_hook.h: remove CONSTCOND comment from do-while-0 loop Lint doesn't need this comment anymore, as there is nothing surprising or

CVS commit: src/sys/sys

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 10:38:03 UTC 2024 Modified Files: src/sys/sys: module_hook.h Log Message: sys/module_hook.h: remove CONSTCOND comment from do-while-0 loop Lint doesn't need this comment anymore, as there is nothing surprising or

CVS commit: src/sys/sys

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 10:34:56 UTC 2024 Modified Files: src/sys/sys: bitops.h boot_flag.h bootblock.h buf.h cctr.h cdefs.h cpu_data.h fd_set.h ieee754.h ipc.h kernhist.h lock.h mbuf.h msg.h queue.h rbtree.h

CVS commit: src/sys/sys

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 10:34:56 UTC 2024 Modified Files: src/sys/sys: bitops.h boot_flag.h bootblock.h buf.h cctr.h cdefs.h cpu_data.h fd_set.h ieee754.h ipc.h kernhist.h lock.h mbuf.h msg.h queue.h rbtree.h

CVS commit: src/sys/sys

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 09:34:25 UTC 2024 Modified Files: src/sys/sys: ktrace.h Log Message: sys/ktrace.h: fix off-by-one in snprintb for ktrace flags There's a one-bit gap between TRC_EMUL and INHERIT. Noticed by RVP. To generate a diff

CVS commit: src/sys/sys

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 09:34:25 UTC 2024 Modified Files: src/sys/sys: ktrace.h Log Message: sys/ktrace.h: fix off-by-one in snprintb for ktrace flags There's a one-bit gap between TRC_EMUL and INHERIT. Noticed by RVP. To generate a diff

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

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 09:07:41 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y lex.c tree.c Log Message: lint: don't call memcpy with null pointer Even copying 0 bytes from a null pointer invokes undefined behavior. To generate

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

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 09:07:41 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y lex.c tree.c Log Message: lint: don't call memcpy with null pointer Even copying 0 bytes from a null pointer invokes undefined behavior. To generate

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

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 08:48:36 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h lex.c scan.l Log Message: lint: move code for parsing balanced token sequences to lex.c To access yytext from lex.c, the lexer needs to be

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

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 08:48:36 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h lex.c scan.l Log Message: lint: move code for parsing balanced token sequences to lex.c To access yytext from lex.c, the lexer needs to be

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

2024-05-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 11 16:58:59 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up grammar rule name for 'type_specifier' To generate a diff of this commit: cvs rdiff -u -r1.500 -r1.501

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

2024-05-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 11 16:58:59 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up grammar rule name for 'type_specifier' To generate a diff of this commit: cvs rdiff -u -r1.500 -r1.501

CVS commit: src

2024-05-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 11 16:12:28 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c src/usr.bin/xlint/lint1: cgram.y debug.c externs1.h lint1.h scan.l Log Message: lint: parse but otherwise ignore C23 attributes The C23

CVS commit: src

2024-05-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 11 16:12:28 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c src/usr.bin/xlint/lint1: cgram.y debug.c externs1.h lint1.h scan.l Log Message: lint: parse but otherwise ignore C23 attributes The C23

CVS commit: src

2024-05-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 11 15:53:38 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: msg_162.c t_usage.sh src/usr.bin/xlint/lint1: err.c makeman tree.c Added Files:

CVS commit: src

2024-05-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 11 15:53:38 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: msg_162.c t_usage.sh src/usr.bin/xlint/lint1: err.c makeman tree.c Added Files:

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

2024-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 10 21:43:40 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up conversion from floating point constant To generate a diff of this commit: cvs rdiff -u -r1.640 -r1.641

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

2024-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 10 21:43:40 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up conversion from floating point constant To generate a diff of this commit: cvs rdiff -u -r1.640 -r1.641

CVS commit: src/sys/sys

2024-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 10 09:30:47 UTC 2024 Modified Files: src/sys/sys: ktrace.h Log Message: sys/ktrace.h: fix off-by-one error in snprintb for ktrace flags To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/sys/ktrace.h

CVS commit: src/sys/sys

2024-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 10 09:30:47 UTC 2024 Modified Files: src/sys/sys: ktrace.h Log Message: sys/ktrace.h: fix off-by-one error in snprintb for ktrace flags To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/sys/ktrace.h

CVS commit: src/usr.bin/error

2024-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 10 09:27:27 UTC 2024 Modified Files: src/usr.bin/error: Makefile Log Message: error: disable lint's strict bool mode when building with Clang The Clang preprocessor does not mark sections from system headers. Lint's

CVS commit: src/usr.bin/error

2024-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 10 09:27:27 UTC 2024 Modified Files: src/usr.bin/error: Makefile Log Message: error: disable lint's strict bool mode when building with Clang The Clang preprocessor does not mark sections from system headers. Lint's

CVS commit: src

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:56:41 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c src/usr.bin/xlint/lint1: cgram.y Log Message: lint: in C23 mode, allow storage classes in compound literals To generate a diff of this

CVS commit: src

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:56:41 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c src/usr.bin/xlint/lint1: cgram.y Log Message: lint: in C23 mode, allow storage classes in compound literals To generate a diff of this

CVS commit: src

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:53:13 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c msg_174.c src/usr.bin/xlint/lint1: err.c init.c Log Message: lint: add details to message about too many initializers To generate

CVS commit: src

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:53:13 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c msg_174.c src/usr.bin/xlint/lint1: err.c init.c Log Message: lint: add details to message about too many initializers To generate

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

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:22:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sync grammar rule names with C11 and C23 To generate a diff of this commit: cvs rdiff -u -r1.497 -r1.498

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

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:22:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sync grammar rule names with C11 and C23 To generate a diff of this commit: cvs rdiff -u -r1.497 -r1.498

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

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:15:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sort grammar rules according to the order they appear in C23 To generate a diff of this commit: cvs rdiff -u -r1.496 -r1.497

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

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:15:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sort grammar rules according to the order they appear in C23 To generate a diff of this commit: cvs rdiff -u -r1.496 -r1.497

CVS commit: src

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 11:08:07 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c src/usr.bin/xlint/lint1: cgram.y debug.c externs1.h lex.c lint1.h Log Message: lint: in C23 mode, support the nullptr constant To

CVS commit: src

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 11:08:07 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c src/usr.bin/xlint/lint1: cgram.y debug.c externs1.h lex.c lint1.h Log Message: lint: in C23 mode, support the nullptr constant To

CVS commit: src

2024-05-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue May 7 21:13:27 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c src/usr.bin/xlint/lint1: lex.c lint1.h src/usr.bin/xlint/xlint: strict-bool-stdbool.h Log Message: lint: in C23 mode, support the

CVS commit: src

2024-05-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue May 7 21:13:27 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c src/usr.bin/xlint/lint1: lex.c lint1.h src/usr.bin/xlint/xlint: strict-bool-stdbool.h Log Message: lint: in C23 mode, support the

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

2024-05-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue May 7 19:32:35 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: c11.c c23.c Log Message: tests/lint: show that in C23 mode, bool is not yet defined The tests in C11 and C23 mode look the same right now but will

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

2024-05-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue May 7 19:32:35 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: c11.c c23.c Log Message: tests/lint: show that in C23 mode, bool is not yet defined The tests in C11 and C23 mode look the same right now but will

CVS commit: src

2024-05-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 4 06:52:17 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_004.c msg_005.c src/usr.bin/xlint/lint1: decl.c Log Message: lint: increase debug logging for declarations All changes to the global

CVS commit: src

2024-05-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 4 06:52:17 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_004.c msg_005.c src/usr.bin/xlint/lint1: decl.c Log Message: lint: increase debug logging for declarations All changes to the global

CVS commit: src/lib/libc/stdio

2024-05-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 4 05:50:49 UTC 2024 Modified Files: src/lib/libc/stdio: mktemp.3 Log Message: mktemp.3: mkdtemp is no longer nonstandard Reported by Aleksey Cheusov on tech-userlevel. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/stdio

2024-05-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 4 05:50:49 UTC 2024 Modified Files: src/lib/libc/stdio: mktemp.3 Log Message: mktemp.3: mkdtemp is no longer nonstandard Reported by Aleksey Cheusov on tech-userlevel. To generate a diff of this commit: cvs rdiff -u

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

2024-05-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 3 19:16:13 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: fix supposedly platform-independent type definitions No idea where I got the previous type definitions from. The

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

2024-05-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 3 19:16:13 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: fix supposedly platform-independent type definitions No idea where I got the previous type definitions from. The

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

2024-05-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 3 15:32:37 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: skip test for sizeof struct on 32-bit platforms Even though the test only uses fixed-size types, lint's computed

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

2024-05-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 3 15:32:37 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: skip test for sizeof struct on 32-bit platforms Even though the test only uses fixed-size types, lint's computed

Clang vs. lint's strict bool mode (was: Re: CVS commit: src/usr.bin/base64)

2024-05-03 Thread Roland Illig
Am 02.05.2024 um 22:44 schrieb Christos Zoulas: > On 2024-05-02 3:04 pm, Christos Zoulas wrote: >> This is with clang. >> > And I don't get it. Gcc produces: > >if (ignore && > # 139 "base64.c" 3 4 > ((int)((_ctype_tab_ + 1)[( > # 139 "base64.c" > c > # 139

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

2024-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 3 04:04:18 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lint1.h tree.c Log Message: lint: measure the alignment in bytes, not bits While measuring the alignment in bits

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

2024-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 3 04:04:18 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lint1.h tree.c Log Message: lint: measure the alignment in bytes, not bits While measuring the alignment in bits

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

2024-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 2 20:03:33 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: demonstrate wrong struct size calculation To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

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

2024-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 2 20:03:33 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: demonstrate wrong struct size calculation To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

Re: CVS commit: src/tests/lib/libm

2024-05-02 Thread Roland Illig
Am 02.05.2024 um 05:30 schrieb Robert Elz: > Module Name: src > Committed By: kre > Date: Thu May 2 03:30:07 UTC 2024 > > Modified Files: > src/tests/lib/libm: t_fe_round.c > > Log Message: > Use intmax_t instead of long int when trying to represent very large > integers (10^50 or

Re: CVS commit: src/usr.bin/base64

2024-05-02 Thread Roland Illig
Am 02.05.2024 um 17:45 schrieb Christos Zoulas: > Module Name: src > Committed By: christos > Date: Thu May 2 15:45:36 UTC 2024 > > Modified Files: > src/usr.bin/base64: Makefile > > Log Message: > comment out strict boolean lint check because isspace() returns int and lint >

CVS commit: src/lib/libutil

2024-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 2 18:34:01 UTC 2024 Modified Files: src/lib/libutil: parsedate.3 Log Message: parsedate.3: resolve contradictory values for 'next' To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27

CVS commit: src/lib/libutil

2024-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 2 18:34:01 UTC 2024 Modified Files: src/lib/libutil: parsedate.3 Log Message: parsedate.3: resolve contradictory values for 'next' To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27

Re: CVS commit: src/lib/libutil

2024-05-01 Thread Roland Illig
Am 01.05.2024 um 21:59 schrieb Christos Zoulas: > Module Name: src > Committed By: christos > Date: Wed May 1 19:59:08 UTC 2024 > > Modified Files: > src/lib/libutil: parsedate.y > > Log Message: > next should increement by 1 not 2. Are you sure? I get these test results: >

CVS commit: src

2024-05-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed May 1 17:42:58 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: make 'offsetof(t, array-member)' a constant expression The macro 'offsetof(t, m)'

CVS commit: src

2024-05-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed May 1 17:42:58 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: make 'offsetof(t, array-member)' a constant expression The macro 'offsetof(t, m)'

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

2024-05-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed May 1 12:36:56 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c decl_enum.c Log Message: tests/lint: test large enum constants and offsetof with array members To generate a diff of this commit: cvs rdiff -u

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

2024-05-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed May 1 12:36:56 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c decl_enum.c Log Message: tests/lint: test large enum constants and offsetof with array members To generate a diff of this commit: cvs rdiff -u

CVS commit: src

2024-05-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed May 1 10:30:56 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_attribute_aligned.c src/usr.bin/xlint/lint1: decl.c Log Message: lint: fix size of struct with large alignment Lint now successfully passes

CVS commit: src

2024-05-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed May 1 10:30:56 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_attribute_aligned.c src/usr.bin/xlint/lint1: decl.c Log Message: lint: fix size of struct with large alignment Lint now successfully passes

  1   2   3   4   5   6   7   8   9   10   >