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

2021-06-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 29 20:44:38 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: do not sign-extend pointers Sign extension only makes sense for integer types. No idea why the code had tried to sign-extend

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

2021-06-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 29 13:48:24 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: clean up lex_character_constant No functional change. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48

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

2021-06-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 29 10:12:35 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix typos in comment To generate a diff of this commit: cvs rdiff -u -r1.294 -r1.295 src/usr.bin/xlint/lint1/tree.c Please note

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

2021-06-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 29 07:37:34 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: Makefile Log Message: tests/lint: do not modify t_integration on "make add-test" The test names are no longer listed individually. To generate a diff of

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

2021-06-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 29 05:41:45 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: remove comment from grammar rule type_direct_decl The 'identifier' in type_direct_decl is necessary, as demonstrated in the test

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

2021-06-28 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Tue Jun 29 00:35:23 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: Allow BROKEN_TESTS to cause TESTS to be skipped. Some tests simply do not work in some environments. Eg. shell-ksh on macos/arm64 Allow

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

2021-06-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 28 09:40:53 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: rename grammar rules for abstract declarators The previous name 'decl' was ambiguous, it could have meant declaration as well as

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

2021-06-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 28 09:14:42 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c Log Message: lint: align grammar with C99 C99 uses type-qualifier-list_opt in section 6.7.5. To generate a diff of this commit: cvs rdiff -u

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

2021-06-28 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jun 28 09:09:14 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: Makefile Log Message: apply sh3 vs lex.c fix for GCC >= 9. use shorter idiom. fixes build issue reported by jdbaker in private email. To generate a diff of

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

2021-06-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 28 09:01:48 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: refrain from renaming the grammar rule 'pointer' That rule is called 'pointer' by C99 as well. No functional change. To generate

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

2021-06-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 28 08:52:56 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h lint1.h Log Message: lint: rename pqinf_t to qual_ptr and clean up code The 'inf' from the type name meant 'information' and was

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

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 21:52:18 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: consistently use 'opt' as suffix This corresponds to the usage in the C standards, where 'opt' is used as a subscripted suffix. No

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

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 21:46:17 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: remove redundant '{ $$ = $1; }' from the grammar In some cases the redundant code had been spelled out, in others it had been left

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

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 21:36:14 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: reorder grammar rules from big to small No functional change. To generate a diff of this commit: cvs rdiff -u -r1.238 -r1.239

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

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 18:54:14 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sort and rename grammar rules for generic selection No functional change. To generate a diff of this commit: cvs rdiff -u -r1.234

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

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 18:19:13 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: fix uninitialized variable for declaration after statement To generate a diff of this commit: cvs rdiff -u -r1.233 -r1.234

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

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 18:03:05 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: proof-read the C grammar, remove unnecessary %type After the fix from the previous commit (a missing assignment to $$ in an error

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

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 13:59:29 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: fix undefined behavior after syntax error 'unnamed member' There should really be a linter or other check that guards against

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

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 08:43:50 UTC 2021 Modified Files: src/usr.bin/xlint/arch/aarch64: targparam.h src/usr.bin/xlint/arch/alpha: targparam.h src/usr.bin/xlint/arch/arm: targparam.h src/usr.bin/xlint/arch/coldfire:

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

2021-06-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 27 08:20:50 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c lint1.h Log Message: lint: fix type of pqinf.p_pcnt A counter that can either be 0 or 1 and is never incremented is not really a counter, it's

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

2021-06-25 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Fri Jun 25 20:17:56 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: Makefile Log Message: ensure defined(HAVE_GCC) before use of ${HAVE_GCC} To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73

CVS commit: src/usr.bin/make

2021-06-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 25 16:10:07 UTC 2021 Modified Files: src/usr.bin/make: for.c src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: make: prevent newline injection in .for loops

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

2021-06-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 25 15:56:02 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: tests/make: demonstrate newline injection in .for loop To generate a diff of

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

2021-06-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jun 24 23:22:17 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-for-escape.exp directive-for-escape.mk Log Message: tests/make: test .for loop over a variable named '$' It's an impractical edge

CVS commit: src/usr.bin/make

2021-06-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jun 24 23:19:52 UTC 2021 Modified Files: src/usr.bin/make: for.c Log Message: make: sprinkle const To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/usr.bin/make/for.c Please note that diffs are not

CVS commit: src/usr.bin/gzip

2021-06-24 Thread Simon Burge
Module Name:src Committed By: simonb Date: Thu Jun 24 07:16:49 UTC 2021 Modified Files: src/usr.bin/gzip: gzip.c Log Message: Call check_siginfo() in compression loop to provide SIGINFO compression progress. Suggested by mrg@. To generate a diff of this commit: cvs

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

2021-06-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Jun 22 12:58:28 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: Makefile Log Message: Hack to avoid gcc 9 internal compiler error for sh3. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 21:10:01 UTC 2021 Modified Files: src/usr.bin/make: cond.c src/usr.bin/make/unit-tests: cond-token-plain.exp Log Message: make: fix grammar in error message for malformed conditional To generate a diff of

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 21:07:35 UTC 2021 Modified Files: src/usr.bin/make: cond.c Log Message: make: clean up comments in cond.c To generate a diff of this commit: cvs rdiff -u -r1.267 -r1.268 src/usr.bin/make/cond.c Please note that

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 19:59:58 UTC 2021 Modified Files: src/usr.bin/make: buf.c Log Message: make: use simpler upper bound for length in Buf_AddInt No functional change. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 18:54:41 UTC 2021 Modified Files: src/usr.bin/make: metachar.c metachar.h Log Message: make: replace macro is_shell_metachar with inline function No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 18:25:20 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: use more practical data type in RegexReplace While size_t is most appropriate for array indexes, make needs to be compatible with C90, which

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 18:12:49 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: extract RegexReplace from ModifyWord_SubstRegex No functional change. To generate a diff of this commit: cvs rdiff -u -r1.936 -r1.937

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 17:52:33 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: move all labels in ModifyWord_SubstRegex to the same level No functional change. To generate a diff of this commit: cvs rdiff -u -r1.935

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 17:21:37 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: reduce indentation in ModifyWord_SubstRegex for ':C' No functional change. To generate a diff of this commit: cvs rdiff -u -r1.934 -r1.935

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 16:59:18 UTC 2021 Modified Files: src/usr.bin/make: str.c Log Message: make: eliminate local variable in Substring_Words No functional change. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 10:42:06 UTC 2021 Modified Files: src/usr.bin/make: parse.c Log Message: make: document ParseDependencyOp To generate a diff of this commit: cvs rdiff -u -r1.559 -r1.560 src/usr.bin/make/parse.c Please note that

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 10:33:11 UTC 2021 Modified Files: src/usr.bin/make: make.h parse.c Log Message: make: document where to find tests for the dependency lines To generate a diff of this commit: cvs rdiff -u -r1.262 -r1.263

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 10:29:08 UTC 2021 Modified Files: src/usr.bin/make: parse.c Log Message: make: extract ParseDependencySources from ParseDependency No functional change. To generate a diff of this commit: cvs rdiff -u -r1.557

CVS commit: src/usr.bin/make

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 08:40:44 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: fix documentation for ParseModifierPart To generate a diff of this commit: cvs rdiff -u -r1.933 -r1.934 src/usr.bin/make/var.c Please note

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

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 08:28:37 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk Log Message: tests/make: remove unnecessary -dL from moderrs.mk It was only needed for the test for unmatched subexpressions in the

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

2021-06-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 21 08:17:39 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk varmod-subst-regex.exp varmod-subst-regex.mk Log Message: tests/make: move and extend test for unmatched '\1' in ':C'

CVS commit: src/usr.bin/make

2021-06-20 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Mon Jun 21 04:24:17 UTC 2021 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk Log Message: Do not report unmatched regex subexpressions It is not always an error for a

CVS commit: src/usr.bin/audiocfg

2021-06-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 21 03:04:27 UTC 2021 Modified Files: src/usr.bin/audiocfg: drvctl.c Log Message: fix proplib deprecation To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.bin/audiocfg/drvctl.c Please note that

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

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 20:59:09 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: externs1.h print.c Log Message: lint: remove unused print_tnode The function display_expression serves the same purpose and prints more details. To generate

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

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 20:48:25 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: remove unnecessary call to print_tnode For the possible operators that occur in message 324, print_tnode is equivalent to op_name,

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

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 20:32:42 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: ckbool.c lex.c lint1.h print.c tree.c Log Message: lint: rename val_t.v_unsigned to avoid confusion The name v_unsigned suggested that the value would be

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

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 19:15:58 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: ckbool.c Log Message: lint: in strict bool mode, treat boolean constants as unsigned In strict bool mode, bool is not an arithmetic type anyway, therefore it

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

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 19:04:50 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: ckbool.c lex.c lint1.h print.c tree.c Log Message: lint: rename val_t.v_ansiu to v_unsigned When lint was written in 1995, traditional C was still nearby

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

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 18:51:50 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: mem1.c Log Message: lint: sprinkle const in memory management No functional change. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44

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

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 18:44:48 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix confusing variable name in lex_wide_character_constant By convention, i is an index, not a count. No functional change. To

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

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 18:41:27 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: reduce indentation in lexer for character constants No functional change. To generate a diff of this commit: cvs rdiff -u -r1.42

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

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 18:15:12 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y scan.l Log Message: lint: use different tokens for operators '.' and '->' Before C99, these tokens were only used in member access expressions. C99

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

2021-06-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 20 11:00:18 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: fix segmentation fault for malformed struct Code to trigger this bug: struct{char a(_)0} Found using afl. To generate a diff of

CVS commit: src/usr.bin/kdump

2021-06-19 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Jun 20 00:25:29 UTC 2021 Modified Files: src/usr.bin/kdump: kdump.c Log Message: fix printf format string for xattr names (the length of the xattr name needs to be a precision rather than a width). To generate a diff of this

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

2021-06-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 19 15:23:57 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y init.c lint1.h Log Message: lint: replace undefined behavior with assertion failure Triggered by this malformed code: struct{int; To

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

2021-06-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 19 14:28:04 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: fix assertion failure after syntax error in declaration The code to trigger this case is: (s)(int(int);); This only

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

2021-06-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 19 11:01:23 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: fix internal error for unfinished declaration A translation unit that contains just 'void x' without the trailing semicolon had

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

2021-06-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 19 08:57:25 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix endless loop when scanning string or character literals If the code contains an unfinished string or character literal at the

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

2021-06-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 18 20:29:00 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix hang on unfinished string literal at end-of-file The input file that triggered this bug was: a"b"c"d Found using afl.

CVS commit: src/usr.bin/calendar/calendars

2021-06-18 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Jun 18 13:13:45 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: June 19 is Juneteenth in USA To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33

CVS commit: src/usr.bin/make

2021-06-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 18 12:54:17 UTC 2021 Modified Files: src/usr.bin/make: main.c Log Message: make: clean up access to character iterator Having both p[0] and *p intermixed was inconsistent. No functional change. To generate a diff of

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

2021-06-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jun 17 15:25:34 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: deptgt-order.exp deptgt-order.mk Log Message: tests/make: add test for circular dependency in .ORDER To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/calendar/calendars

2021-06-17 Thread Nia Alarie
Module Name:src Committed By: nia Date: Thu Jun 17 11:48:19 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: U.S.S.R no longer exists To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/usr.bin/calendar/calendars

2021-06-17 Thread Nia Alarie
Module Name:src Committed By: nia Date: Thu Jun 17 11:45:22 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.holiday Log Message: November 20 is International Transgender Day of Remembrance Officially recongized in Ontario, Canada. Originates from the

CVS commit: src/usr.bin/calendar/calendars

2021-06-17 Thread Nia Alarie
Module Name:src Committed By: nia Date: Thu Jun 17 11:32:34 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: 1985: first ARM silicon and first Amiga To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/usr.bin/calendar/calendars

2021-06-16 Thread Soren Jacobsen
Module Name:src Committed By: snj Date: Wed Jun 16 19:31:03 UTC 2021 Modified Files: src/usr.bin/calendar/calendars: calendar.computer Log Message: it's "its" To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.bin/calendar/calendars/calendar.computer

CVS commit: src/usr.bin/make

2021-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 16 09:47:51 UTC 2021 Modified Files: src/usr.bin/make: job.c src/usr.bin/make/unit-tests: jobs-empty-commands-error.exp Log Message: make: fix error handling in jobs mode By using the same error handling code as

CVS commit: src/usr.bin/make

2021-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 16 03:56:59 UTC 2021 Modified Files: src/usr.bin/make: job.c Log Message: make: extract commands-ok check from JobWriteShellCommands This piece of code did not match the function name and thus could not reasonably be

CVS commit: src/usr.bin/make

2021-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 16 03:15:47 UTC 2021 Modified Files: src/usr.bin/make: job.c Log Message: make: clean up comment for JobStart The parameter 'flags' was renamed in job.c 1.354 from 2020-12-10 without adjusting the documentation. The

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

2021-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 15 20:46:46 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: externs1.h lex.c lint1.h tree.c Log Message: lint: replace array access with function calls First and foremost, the test d_c99_complex_split accessed the

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

2021-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 15 18:23:39 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: extract convert_constant_to_floating To generate a diff of this commit: cvs rdiff -u -r1.285 -r1.286 src/usr.bin/xlint/lint1/tree.c

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

2021-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 15 18:16:11 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: split convert_constant_check_range No functional change. To generate a diff of this commit: cvs rdiff -u -r1.284 -r1.285

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

2021-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 15 17:17:15 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: merge duplicate code To generate a diff of this commit: cvs rdiff -u -r1.283 -r1.284 src/usr.bin/xlint/lint1/tree.c Please note

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

2021-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 15 17:13:08 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: extract convert_constant_check_range No functional change. To generate a diff of this commit: cvs rdiff -u -r1.282 -r1.283

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

2021-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 15 16:56:00 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: extract convert_constant_floating No functional change. To generate a diff of this commit: cvs rdiff -u -r1.281 -r1.282

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

2021-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 15 08:37:56 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: check-msgs.lua Log Message: tests/lint1: make error handling in the lint1 linter simpler To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/usr.bin/tr

2021-06-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 14 17:22:23 UTC 2021 Modified Files: src/usr.bin/tr: tr.1 Log Message: add alphabetic to lower for consistency (nabijaczleweli) To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/tr/tr.1 Please

CVS commit: src/usr.bin/make

2021-06-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 11 14:52:03 UTC 2021 Modified Files: src/usr.bin/make: cond.c Log Message: make: inline strcmp when parsing conditions GCC 10 does not do that even though it could easily. No functional change. To generate a diff of

CVS commit: src/usr.bin/make

2021-06-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 11 14:42:52 UTC 2021 Modified Files: src/usr.bin/make: cond.c Log Message: make: clean up function names and documentation for conditions No functional change. To generate a diff of this commit: cvs rdiff -u -r1.265

CVS commit: src/usr.bin/make

2021-06-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 11 14:37:51 UTC 2021 Modified Files: src/usr.bin/make: cond.c Log Message: make: rename If_Eval to EvalBare No functional change. To generate a diff of this commit: cvs rdiff -u -r1.264 -r1.265 src/usr.bin/make/cond.c

CVS commit: src/usr.bin/make

2021-06-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 11 13:09:11 UTC 2021 Modified Files: src/usr.bin/make: cond.c Log Message: make: move parsing of function calls out of CondParser_LeafToken The grammar above the parsing code says that a Leaf has nothing to do with

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

2021-06-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 11 13:01:28 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-ifelse.exp varmod-ifelse.mk Log Message: tests/make: demonstrate handling of '+' and '*' in modifier ':?' It doesn't make sense that these two

CVS commit: src/usr.bin/make

2021-06-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 11 12:23:00 UTC 2021 Modified Files: src/usr.bin/make: cond.c Log Message: make: improve function names for parsing conditions No functional change. To generate a diff of this commit: cvs rdiff -u -r1.262 -r1.263

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

2021-06-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 4 21:12:10 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c Log Message: lint: fix function name in check for getopt No functional change. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

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

2021-06-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 4 20:54:18 UTC 2021 Modified Files: src/usr.bin/xlint/common: tyname.c Log Message: lint: fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/usr.bin/xlint/common/tyname.c Please note

CVS commit: src/usr.bin/ftp

2021-06-03 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Jun 3 10:23:33 UTC 2021 Modified Files: src/usr.bin/ftp: Makefile ssl.c ssl.h version.h Log Message: use fetch_*() for I/O with SMALLPROG / !WITH_SSL builds Adapt the SMALLPROG / -UWITH_SSL build to also use the fetch_*()

CVS commit: src/usr.bin/ftp

2021-06-03 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Jun 3 10:11:00 UTC 2021 Modified Files: src/usr.bin/ftp: ftp.c Log Message: set SO_KEEPALIVE on control connection Attempt to prevent timeouts of the control connection by setting SO_KEEPALIVE. This matches the equivalent

CVS commit: src/usr.bin/audio/record

2021-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jun 1 21:08:48 UTC 2021 Modified Files: src/usr.bin/audio/record: record.c Log Message: audiorecord(1): Handle read(2) return value gracefully. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55

CVS commit: src/usr.bin/make

2021-05-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 30 21:16:54 UTC 2021 Modified Files: src/usr.bin/make: arch.c str.c str.h Log Message: make: inline str_concat4 This function is only ever used for forming strings of the form "archive(member)". No functional change.

CVS commit: src/usr.bin/make

2021-05-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 30 21:03:09 UTC 2021 Modified Files: src/usr.bin/make: Makefile Log Message: make: fix reported code coverage for *.h In 'make test-coverage', the number of uncovered lines for inline functions in headers was reported

CVS commit: src/usr.bin/make

2021-05-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 30 20:41:34 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: uncompress code in ApplyModifier_Unique The algorithm is easier to understand when each line of code only focuses on a single topic. No

CVS commit: src/usr.bin/make

2021-05-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 30 20:31:03 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: inline VarUniq into ApplyModifier_Unique No functional change. To generate a diff of this commit: cvs rdiff -u -r1.930 -r1.931

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

2021-05-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 30 20:26:42 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-unique.mk Log Message: tests/make: test whitespace normalization for modifier ':u' To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/usr.bin/aiomixer

2021-05-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat May 29 09:11:41 UTC 2021 Modified Files: src/usr.bin/aiomixer: draw.c Log Message: aiomixer: remove workaround for libcurses bug To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/aiomixer/draw.c Please

CVS commit: src/usr.bin/patch

2021-05-26 Thread Chris Pinnock
Module Name:src Committed By: cjep Date: Wed May 26 07:57:05 UTC 2021 Modified Files: src/usr.bin/patch: inp.c Log Message: correct indentation. spotted by Roland. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/patch/inp.c Please note that

CVS commit: src/usr.bin/patch

2021-05-25 Thread Chris Pinnock
Module Name:src Committed By: cjep Date: Tue May 25 11:25:59 UTC 2021 Modified Files: src/usr.bin/patch: common.h inp.c patch.c pch.c util.c Log Message: As per OpenBSD, use malloc for the line buffer. Fixes the known issue with long lines and makes our ATF test suite

CVS commit: src/usr.bin/printf

2021-05-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu May 20 02:01:07 UTC 2021 Modified Files: src/usr.bin/printf: printf.c Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/usr.bin/printf/printf.c Please note that diffs are not public

CVS commit: src/usr.bin/printf

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:41:19 UTC 2021 Modified Files: src/usr.bin/printf: printf.c Log Message: Changes for POSIX conformance. 1. exit(1) with an error message on stderr if an I/O error occurs. 1a. To work properly when built into /bin/sh

CVS commit: src/usr.bin/printf

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:29:18 UTC 2021 Modified Files: src/usr.bin/printf: printf.1 Log Message: Don't describe "%%: in the format as a format conversion, it isn't, it is an escaped literal '%' character. None of what applies to format

<    1   2   3   4   5   6   7   8   9   10   >