CVS commit: src/bin/sh/USD.doc

2018-09-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Sep 14 05:59:10 UTC 2018 Modified Files: src/bin/sh/USD.doc: Rv7man Log Message: Fix "every" typo in quote from The Mythical Man-Month To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/bin/sh/USD.doc/Rv7man

CVS commit: src/bin/sh

2018-10-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Oct 7 23:17:52 UTC 2018 Modified Files: src/bin/sh: alias.c Log Message: When listing aliases, sort them alphabetically. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/bin/sh/alias.c Please note that

CVS commit: src/usr.bin/make

2019-12-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 1 23:53:49 UTC 2019 Modified Files: src/usr.bin/make: str.c src/usr.bin/make/unit-tests: varmod-edge.mk Log Message: Fix out-of-bounds read in Str_Match. To generate a diff of this commit: cvs rdiff -u -r1.38

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

2019-12-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 2 01:01:08 UTC 2019 Modified Files: src/usr.bin/make/unit-tests: varmod-edge.exp varmod-edge.mk Log Message: Add more tests for variable modifiers in make. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2020-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 7 20:50:12 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: escape.mk Log Message: usr.bin/make: fix typos in comment To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/usr.bin/make

2020-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 7 21:24:16 UTC 2020 Modified Files: src/usr.bin/make: util.c Log Message: usr.bin/make: remove dead code The preprocessor conditions contradicted each other: __hpux__ or __hpux would need to be defined, and at the same

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

2020-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 7 22:42:14 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modorder.mk Log Message: usr.bin/make: document probabilities for random test failures Side node: this test will never fail between 2024-04-15 and

CVS commit: src/tests/lib/libc/gen

2020-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 13 21:44:25 UTC 2020 Modified Files: src/tests/lib/libc/gen: t_glob.c Log Message: t_glob.c: use distinct names for test structures Before, the structures and functions defined by the test used the same prefix as the

CVS commit: src/tests/lib/libc/gen

2020-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 13 20:48:33 UTC 2020 Modified Files: src/tests/lib/libc/gen: t_glob.c Log Message: t_glob.c: move expected globbing result directly into the test cases This makes the tests more self-contained. The example directory tree

CVS commit: src/tests/lib/libc/gen

2020-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 13 22:58:31 UTC 2020 Modified Files: src/tests/lib/libc/gen: t_glob.c Log Message: t_glob.c: add test cases for hidden directory and file The existing test code was geared towards every little bit of performance. It even

CVS commit: src/tests/lib/libc/gen

2020-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 13 23:27:55 UTC 2020 Modified Files: src/tests/lib/libc/gen: t_glob.c Log Message: t_glob.c: clean up test code In struct vfs_file, using an int as a boolean is an anachronism and has been replaced with a

CVS commit: src

2020-04-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Apr 29 23:15:22 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: cond-late.exp cond-late.mk Log Message: usr.bin/make:

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

2020-05-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 17 09:37:48 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: dollar.exp dollar.mk Log Message: usr.bin/make: fix test for dollar and backslash at eol The previous version of this test relied on the way how the shell

CVS commit: src

2020-05-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 17 12:36:26 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: include-main.exp include-main.mk

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

2020-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 10 12:42:11 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: usr.bin/make: sort test cases alphabetically To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57

CVS commit: src

2020-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 10 12:34:01 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: dollar.exp dollar.mk Log Message: usr.bin/make: add

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

2020-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 10 13:03:40 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: dollar.exp dollar.mk Log Message: usr.bin/make: fix typo in dollar test To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make

2020-05-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 3 12:10:28 UTC 2020 Modified Files: src/usr.bin/make: str.c Log Message: usr.bin/make: refactor brk_string The variables are renamed to reflect to which memory region each pointer belongs. The variable "curlen" was

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

2020-05-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 1 16:26:41 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: cond-late.exp Log Message: usr.bin/make: fix test for late evaluated condition To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2020-05-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 1 16:29:34 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: forloop.exp forloop.mk Log Message: usr.bin/make: add test demonstrating that .for stops at newline To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/usr.bin/make

2020-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 30 13:53:02 UTC 2020 Modified Files: src/usr.bin/make: job.c Log Message: make(1): remove ineffective malloc_options variable According to jemalloc(3), the variable must be called _malloc_options, with a leading

CVS commit: src/usr.bin/make

2020-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 30 11:12:06 UTC 2020 Modified Files: src/usr.bin/make: compat.c dir.c job.c lst.c lst.h make.c suff.c Log Message: make(1): rename Lst_Memeber to Lst_FindDatum The new name nicely aligns with Lst_Find and Lst_FindFrom.

CVS commit: src/usr.bin/make

2020-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 30 11:15:05 UTC 2020 Modified Files: src/usr.bin/make: arch.c dir.c lst.c lst.h main.c make.c meta.c parse.c suff.c targ.c Log Message: make(1): rename Lst_Datum to LstNode_Datum To generate a diff of this

CVS commit: src/usr.bin/make

2020-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 30 14:11:42 UTC 2020 Modified Files: src/usr.bin/make: compat.c dir.c make.c make.h suff.c targ.c Log Message: make(1): rename GNode.iParents to implicitParents The i alone was too ambiguous. It could have meant ignore,

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 14:58:07 UTC 2020 Modified Files: src/usr.bin/make: parse.c Log Message: make(1): remove redundant prototypes for local functions from parse.c To generate a diff of this commit: cvs rdiff -u -r1.276 -r1.277

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

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 16:59:20 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: include-main.exp include-main.mk include-sub.mk include-subsub.mk Log Message: make(1): make test for .INCLUDEDFROMDIR simpler The .info and

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 19:11:16 UTC 2020 Modified Files: src/usr.bin/make: parse.c Log Message: make(1): replay the changes from v1.283 I accidentally reverted them in v1.284. To generate a diff of this commit: cvs rdiff -u -r1.284

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 15:04:09 UTC 2020 Modified Files: src/usr.bin/make: parse.c Log Message: make(1): remove redundant prototype for ParseMark To generate a diff of this commit: cvs rdiff -u -r1.277 -r1.278 src/usr.bin/make/parse.c

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 15:05:08 UTC 2020 Modified Files: src/usr.bin/make: parse.c Log Message: make(1): fix return type of ParseIsEscaped To generate a diff of this commit: cvs rdiff -u -r1.278 -r1.279 src/usr.bin/make/parse.c Please

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 18:18:05 UTC 2020 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: include-main.exp include-main.mk Log Message: make(1): fix .INCLUDEDFROMDIR/.INCLUDEDFROMFILE To generate a diff of

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 19:07:25 UTC 2020 Modified Files: src/usr.bin/make: parse.c Log Message: make(1): clean up comments about parsing To generate a diff of this commit: cvs rdiff -u -r1.283 -r1.284 src/usr.bin/make/parse.c Please note

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 15:12:04 UTC 2020 Modified Files: src/usr.bin/make: parse.c Log Message: make(1): fix local variable type in ParseIsEscaped To generate a diff of this commit: cvs rdiff -u -r1.279 -r1.280 src/usr.bin/make/parse.c

CVS commit: src/distrib/sets/lists/base

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 19:17:42 UTC 2020 Modified Files: src/distrib/sets/lists/base: mi Log Message: lists/base/mi: fix lines with 4 fields ok mrg To generate a diff of this commit: cvs rdiff -u -r1.1258 -r1.1259

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

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 18:13:47 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: include-main.exp include-main.mk include-sub.mk include-subsub.mk Log Message: make(1): add test for .INCLUDEDFILE combined with .for loops

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

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 15:57:13 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: depsrc-exec.exp depsrc-exec.mk depsrc-made.exp depsrc-made.mk depsrc-make.exp depsrc-make.mk depsrc-notmain.exp depsrc-notmain.mk

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 18:31:03 UTC 2020 Modified Files: src/usr.bin/make: parse.c Log Message: make(1): make GetActuallyIncludingFile faster In deeply nested includes, starting the search from the inner end is faster since it needs fewer

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 18:41:59 UTC 2020 Modified Files: src/usr.bin/make: parse.c Log Message: make(1): fix comments about setting .PARSEDIR and .PARSEFILE To generate a diff of this commit: cvs rdiff -u -r1.282 -r1.283

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

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 13:34:19 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varname.exp Log Message: make(1): add expected test result for hashing variable names To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 12:59:07 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile varname.mk Log Message: make(1): add test for intentional hash collision for variable names Hash collisions may slow down make in certain special

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 06:46:13 UTC 2020 Modified Files: src/usr.bin/make: suff.c targ.c src/usr.bin/make/unit-tests: opt-debug-graph1.exp opt-debug-graph1.mk Log Message: make(1): remove trailing whitespace in -dg1 debug output To

CVS commit: src/distrib/sets/lists/comp

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 11:00:18 UTC 2020 Modified Files: src/distrib/sets/lists/comp: ad.sh3 Log Message: fix alignment in ad.sh3 To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/distrib/sets/lists/comp/ad.sh3 Please note

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 13:55:08 UTC 2020 Modified Files: src/usr.bin/make: arch.c dir.c hash.c hash.h targ.c Log Message: make(1): remove initial size argument from Hash_InitTable In all but one case this argument was set to auto-detect

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

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 06:25:38 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varname-makefile.mk Log Message: make(1): fix test for the MAKEFILE variable That test had assumed that it would always be run with CURDIR == PARSEDIR,

CVS commit: src/usr.bin/make

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 13:36:25 UTC 2020 Modified Files: src/usr.bin/make: hash.c Log Message: make(1): make Hash_Table independent from -funsigned-char This only makes a difference for Hash_Table keys outside the ASCII character set, and

CVS commit: src

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 06:36:40 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile opt-debug-graph1.exp opt-debug-graph1.mk Removed Files: src/usr.bin/make/unit-tests:

CVS commit: src

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 06:20:51 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile archive.mk Added Files: src/usr.bin/make/unit-tests: opt-debug-all.exp opt-debug-all.mk

CVS commit: src/distrib/sets

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 5 11:13:07 UTC 2020 Added Files: src/distrib/sets: fmt-list Log Message: add distrib/sets/fmt-list to format the file lists consistently This program is much more complicated than sort-list in the same directory. It

CVS commit: src/usr.bin/make

2020-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 3 17:16:01 UTC 2020 Modified Files: src/usr.bin/make: cond.c Log Message: make(1): document use of magic values in CondDoEmpty To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/usr.bin/make/cond.c

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

2020-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 3 18:52:37 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-defined.mk varmod-undefined.mk Log Message: make(1): add tests for the :D and :U modifiers This prepares a refactoring for ApplyModifier_Defined.

CVS commit: src/usr.bin/make

2020-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 3 18:53:46 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): migrate ApplyModifier_Defined to Var_ParsePP To generate a diff of this commit: cvs rdiff -u -r1.485 -r1.486 src/usr.bin/make/var.c

CVS commit: src/usr.bin/make

2020-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 3 16:02:03 UTC 2020 Modified Files: src/usr.bin/make: cond.c nonints.h Log Message: make(1): make parameter of Cond_Eval and Cond_EvalExpression const To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107

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

2020-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 3 17:13:42 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: cond-func-empty.mk Log Message: make(1): add test for the empty function in conditionals To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/usr.bin/make

2020-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 3 16:14:58 UTC 2020 Modified Files: src/usr.bin/make: cond.c Log Message: make(1): update documentation for Cond_EvalExpression and Cond_Eval To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108

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

2020-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 3 19:50:15 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: dep-var.exp dep-var.mk Log Message: make(1): add test for expansion of indirect variables in dependencies To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2020-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 3 18:19:15 UTC 2020 Modified Files: src/usr.bin/make: nonints.h var.c Log Message: make(1): migrate Var_Parse API to parsing position The ApplyModifier functions already use this pattern. For simplicity and consistency

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

2020-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 3 19:10:56 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: dep-var.exp dep-var.mk Log Message: make: extend test for unresolved variables in dependencies This is to ensure that the upcoming refactoring of

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

2020-09-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Sep 6 04:35:03 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: opt-debug-errors.exp opt-debug-errors.mk Log Message: make(1): add test for the -de option To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make

2020-09-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 05:32:12 UTC 2020 Modified Files: src/usr.bin/make: job.c Log Message: make(1): clean up comments in job.c To generate a diff of this commit: cvs rdiff -u -r1.227 -r1.228 src/usr.bin/make/job.c Please note that

CVS commit: src/usr.bin/make

2020-09-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 05:58:08 UTC 2020 Modified Files: src/usr.bin/make: for.c Log Message: make(1): add local variable for escapes to for_substitute Just for debugging. No change in code size. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make

2020-09-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 06:20:07 UTC 2020 Modified Files: src/usr.bin/make: make.c var.c Log Message: make(1): remove redundant includes To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/usr.bin/make/make.c cvs rdiff -u

CVS commit: src/usr.bin/make

2020-09-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Sep 6 19:19:49 UTC 2020 Modified Files: src/usr.bin/make: for.c Log Message: make(1): improve documentation in For_Eval To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/usr.bin/make/for.c Please note that

CVS commit: src/usr.bin/make

2020-09-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Sep 6 19:18:16 UTC 2020 Modified Files: src/usr.bin/make: for.c Log Message: make(1): fix type of For.short_var To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/usr.bin/make/for.c Please note that diffs

CVS commit: src/usr.bin/make

2020-09-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Sep 6 19:34:36 UTC 2020 Modified Files: src/usr.bin/make: nonints.h parse.c Log Message: make(1): add const for Parse_IsVar To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/usr.bin/make/nonints.h cvs

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

2020-09-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 05:16:32 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: archive.mk Log Message: make(1): fix archive test when .CURDIR != .PARSEDIR To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/usr.bin/make

2020-09-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 06:01:11 UTC 2020 Modified Files: src/usr.bin/make: for.c Log Message: make(1): convert ForEscapes from #define to enum To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/usr.bin/make/for.c Please

CVS commit: src

2020-09-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Sep 4 05:23:25 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile varmod-hash.mk Removed Files: src/usr.bin/make/unit-tests: hash.exp hash.mk Log Message: make(1):

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

2020-09-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Sep 4 06:54:07 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-hash.mk Log Message: make(1): add test for :hash returning In the previous brute force search, it seemed there was no string with that

CVS commit: src/usr.bin/make

2020-09-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Sep 6 19:24:12 UTC 2020 Modified Files: src/usr.bin/make: for.c Log Message: make(1): properly initialize For structure in For_Eval Initializing a Buffer or a strlist_t with zero-valued bytes only works by conincidence, but

CVS commit: src/usr.bin/make

2020-09-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Sep 6 19:30:54 UTC 2020 Modified Files: src/usr.bin/make: for.c nonints.h Log Message: make(1): add const to For_Eval and For_Accum To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/usr.bin/make/for.c cvs

CVS commit: src/usr.bin/make

2020-09-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Sep 6 19:28:49 UTC 2020 Modified Files: src/usr.bin/make: for.c Log Message: make(1): clean up For_Eval * Reduce scope of local variables. * Remove unnecessary null character test before positive isspace call. To generate

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

2020-08-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 31 19:58:21 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modts.exp modts.mk varmod-to-separator.exp varmod-to-separator.mk Log Message: make(1): move some of the :ts tests into a separate file The

CVS commit: src/usr.bin/make

2020-08-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 31 06:21:07 UTC 2020 Modified Files: src/usr.bin/make: make.h Log Message: make(1): parenthesize macro arguments Just in case anyone wants to use them for copy-and-paste. The invocations of these macros are left

CVS commit: src/usr.bin/make

2020-08-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 31 06:44:12 UTC 2020 Modified Files: src/usr.bin/make: Makefile Log Message: make(1): fix copy-and-paste mistake for compiling with GCC10 To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97

CVS commit: src/usr.bin/make

2020-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 31 05:56:02 UTC 2020 Modified Files: src/usr.bin/make: lst.c suff.c Log Message: make(1): fix unbalanced Lst_Open/Lst_Close in SuffFindCmds This bug had been there since the initial import of make, on 1993-03-21. It just

CVS commit: src/usr.bin/make

2020-09-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 2 03:28:12 UTC 2020 Modified Files: src/usr.bin/make: dir.c make.h Log Message: make(1): use proper types in API of cached_stat and cached_lstat To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132

CVS commit: src/usr.bin/make

2020-09-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 2 04:08:54 UTC 2020 Modified Files: src/usr.bin/make: dir.c dir.h make.h meta.c Log Message: make(1): reduce number of stat fields returned by cached_stat Only st_mtime and st_mode are actually filled, the remaining

CVS commit: src

2020-09-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 2 05:33:58 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: directive-for.exp directive-for.mk Log Message:

CVS commit: src/usr.bin/make

2020-09-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 2 04:32:13 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): fix cached_stat for files with st_mtime 0 To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135 src/usr.bin/make/dir.c Please

CVS commit: src/usr.bin/make

2020-09-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 2 06:19:11 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): clean up comments in var.c, make VarQuote const-correct To generate a diff of this commit: cvs rdiff -u -r1.482 -r1.483

CVS commit: src/usr.bin/make

2020-09-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 2 04:19:52 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): fix aliasing problem in cached_stat from the previous commit When the struct stat was used for both calling the actual stat and for

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

2020-09-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 2 05:36:58 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: forloop.mk Log Message: make(1): fix typo in unit test for the .for loop To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/usr.bin/make

2020-09-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 2 03:15:21 UTC 2020 Modified Files: src/usr.bin/make: dir.c Log Message: make(1): use Hash API from dir.c When the Hash struct fields are renamed the next time, this should not influence any code outside hash.h and

CVS commit: src/usr.bin/make

2020-09-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 2 06:10:44 UTC 2020 Modified Files: src/usr.bin/make: make_malloc.c Log Message: make(1): remove redundancy from comments in make_malloc.c To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/usr.bin/make

2020-09-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Sep 2 06:25:48 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): fix documentation of Var_Subst The "var" parameter does not exist anymore. To generate a diff of this commit: cvs rdiff -u -r1.483

CVS commit: src/usr.bin/make

2020-09-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 18:37:09 UTC 2020 Modified Files: src/usr.bin/make: parse.c Log Message: make(1): with -dp, print name of the function instead of its address This makes the output a bit more reproducible. There are still the file

CVS commit: src/usr.bin/make

2020-09-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 19:48:09 UTC 2020 Modified Files: src/usr.bin/make: dir.c src/usr.bin/make/unit-tests: dir.mk Log Message: make(1): document that nested braces work as expected now To generate a diff of this commit: cvs

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

2020-09-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 19:17:36 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: comment.exp comment.mk Log Message: make(1): extend and explain the test for comments To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2020-09-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 18:43:59 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: make(1): use consistent spelling for postprocessing To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137

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

2020-09-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 18:40:32 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: depsrc-wait.exp depsrc-wait.mk Log Message: make(1): add test for the .WAIT dependency source To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2020-09-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Sep 7 18:49:15 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: make(1): explain why each test is run in a sub-make To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138

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

2020-09-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 10 21:22:08 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: deptgt-makeflags.mk Log Message: make(1): add test for .MAKEFLAGS To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2020-09-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 10 22:44:08 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: cond-op-or.exp cond-op-or.mk Log Message: make(1): add tests for the |, ||, ||| operators To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2020-09-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 10 22:38:58 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: cond-op-and.exp cond-op-and.mk Log Message: make(1): add test for the &, && and &&& operators To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make

2020-09-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 10 23:27:27 UTC 2020 Modified Files: src/usr.bin/make: cond.c Log Message: make(1): skip redundant condExpr-- in CondGetString To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/usr.bin/make/cond.c

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

2020-09-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 10 21:40:50 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: deptgt-silent.exp deptgt-silent.mk Log Message: make(1): add test for .SILENT To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/usr.bin/make

2020-09-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 10 22:47:22 UTC 2020 Modified Files: src/usr.bin/make: cond.c Log Message: make(1): reduce code size for parsing the || or && operators On x86_64, accessing [0] generates less code than [1]. To generate a diff of this

CVS commit: src/usr.bin/make

2020-09-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Sep 10 23:37:55 UTC 2020 Modified Files: src/usr.bin/make: cond.c Log Message: make(1): reduce code size in CondGetString The pattern is now the usual "test the character, then increment the pointer", throughout the whole

CVS commit: src/usr.bin/make

2020-09-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Sep 11 04:22:23 UTC 2020 Modified Files: src/usr.bin/make: cond.c Log Message: make(1): replace *par->p with par->p[0] It's a few characters more code than before but can be read strictly from left to right, which was not

CVS commit: src/usr.bin/make

2020-09-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Sep 11 04:40:26 UTC 2020 Modified Files: src/usr.bin/make: cond.c src/usr.bin/make/unit-tests: cond-op.mk Log Message: make(1): rename CondGetString to CondParser_String This describes the function's effect more

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

2020-09-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Sep 11 05:14:21 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: cond-op.exp Log Message: make(1): fix line numbers from test result of the previous commit To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

  1   2   3   4   5   6   7   8   9   10   >