Module Name:src
Committed By: rillig
Date: Sat Aug 14 14:43:30 UTC 2021
Modified Files:
src/usr.bin/make: arch.c
Log Message:
make: add ARGSUSED for lint
To generate a diff of this commit:
cvs rdiff -u -r1.201 -r1.202 src/usr.bin/make/arch.c
Please note that diffs are n
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:39:43 UTC 2021
Modified Files:
src/usr.bin/make: parse.c
Log Message:
make: fix spelling of CVS and RCS in error message
To generate a diff of this commit:
cvs rdiff -u -r1.562 -r1.563 src/usr.bin/make/parse.c
Ple
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:37:56 UTC 2021
Modified Files:
src/usr.bin/make: parse.c
Log Message:
make: rename ParseMark to be more expressive
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.561 -r1.562 src/usr.bin/
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:32:12 UTC 2021
Modified Files:
src/usr.bin/make: main.c nonints.h parse.c
Log Message:
make: rename variable and function for handling parse errors
The word 'fatals' was an unnecessary abbreviation.
No functional c
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:26:07 UTC 2021
Modified Files:
src/usr.bin/make: arch.c
Log Message:
make: extract RanlibOODate into separate function
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.200 -r1.201 src/usr.
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:11:33 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: remove workaround for initialization bug in lint
The bug has been fixed in init.c 1.208 from 2021-08-14.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:04:00 UTC 2021
Modified Files:
src/usr.bin/make: meta.c
Log Message:
make: fix lint warning about strchr removing 'const'
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/u
Module Name:src
Committed By: rillig
Date: Sun Aug 8 12:00:30 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: remove redundant initialization in ApplyModifier_Order
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.945 -r1.94
Module Name:src
Committed By: wiz
Date: Tue Aug 3 07:12:50 UTC 2021
Modified Files:
src/usr.bin/make: make.1
Log Message:
Document :On modifiers in more detail.
To generate a diff of this commit:
cvs rdiff -u -r1.298 -r1.299 src/usr.bin/make/make.1
Please note that dif
Module Name:src
Committed By: rillig
Date: Tue Aug 3 04:46:49 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: varmod-order-numeric.mk
varmod-order-reverse.mk varmod-order-shuffle.mk
varmod-order-string.mk varmod-order.exp varmod-order.mk
Log
Module Name:src
Committed By: rillig
Date: Sat Jul 31 09:30:17 UTC 2021
Modified Files:
src/usr.bin/make: Makefile make.h suff.c var.c
src/usr.bin/make/filemon: filemon_ktrace.c
Log Message:
make: fix lint warnings
The string functions from str.h are declared as '
Module Name:src
Committed By: rillig
Date: Sat Jul 31 00:17:05 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: clean up ApplyModifier_Order
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.943 -r1.944 src/usr.bin/make/var.c
Module Name:src
Committed By: rillig
Date: Fri Jul 30 23:35:38 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: reword comment for ApplyModifier_Order
To generate a diff of this commit:
cvs rdiff -u -r1.942 -r1.943 src/usr.bin/make/var.c
Please note t
Module Name:src
Committed By: rillig
Date: Fri Jul 30 23:28:04 UTC 2021
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: varmod-order-numeric.exp
varmod-order-numeric.mk
Log Message:
make: handle parse errors in ':O' uniformly
Previ
Module Name:src
Committed By: rillig
Date: Fri Jul 30 22:19:51 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: merge duplicate code for sorting strings and numbers
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.940 -r1.941
Module Name:src
Committed By: rillig
Date: Fri Jul 30 22:16:09 UTC 2021
Modified Files:
src/usr.bin/make: make.1 var.c
src/usr.bin/make/unit-tests: varmod-order-numeric.exp
varmod-order-numeric.mk
Log Message:
make: fix typo in manual page, add more tes
Module Name:src
Committed By: sjg
Date: Fri Jul 30 19:55:22 UTC 2021
Modified Files:
src/usr.bin/make: make.1 var.c
src/usr.bin/make/unit-tests: Makefile
Added Files:
src/usr.bin/make/unit-tests: varmod-order-numeric.exp
varmod-order-numeric.mk
Module Name:src
Committed By: rillig
Date: Thu Jul 29 06:35:21 UTC 2021
Modified Files:
src/usr.bin/make: cond.c
Log Message:
make: in TryParseNumber, reset errno as late as possible
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 s
Module Name:src
Committed By: rillig
Date: Thu Jul 29 06:31:18 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: cond-cmp-numeric.exp cond-cmp-numeric.mk
Log Message:
tests/make: test spaces around numbers in comparisons
Just to see whether it is possible to write a c
Module Name:src
Committed By: sjg
Date: Sun Jul 4 01:28:54 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: objdir-writable.exp objdir-writable.mk
Log Message:
Do not assume /tmp is safe to use if TMPDIR is set
To generate a diff of this commit:
cvs rdiff -u -r1.2
Module Name:src
Committed By: rillig
Date: Sat Jul 3 22:39:40 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: job-output-null.exp job-output-null.mk
Log Message:
tests/make: make test job-output-null more portable
Previously, the test dependend on implementation de
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
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
Whe
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 thi
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 cas
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 public
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 this
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 diffs
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 src/us
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
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
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 src/u
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 -r
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
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 src/usr.bin
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 diff
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 src/usr.bin/m
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 -r1.558
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
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
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'
Th
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 subexpression
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 th
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 -r1.1
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 i
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 expe
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 para
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 th
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 -r1
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
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 functi
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 chara
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 src/us
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.
T
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 too
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 chan
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 src/usr.bin/
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 src/
Module Name:src
Committed By: sjg
Date: Tue May 18 17:05:45 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: Makefile opt-chdir.mk
Log Message:
Do not trust that /nonexistent does not exist
Use /nonexistent.${.MAKE.PID} to avoid failure when
/nonexistent actually exi
Module Name:src
Committed By: rillig
Date: Fri May 14 19:37:16 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: varmod-subst.mk
Log Message:
tests/make: show that in ':S', '.' and '*' are ordinary characters
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.
Module Name:src
Committed By: rillig
Date: Tue Apr 27 16:25:47 UTC 2021
Modified Files:
src/usr.bin/make: job.c
Log Message:
make: use consistent variable names, types and braces in DebugFailedJob
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1
Module Name:src
Committed By: rillig
Date: Tue Apr 27 16:23:21 UTC 2021
Modified Files:
src/usr.bin/make: job.c
src/usr.bin/make/unit-tests: opt-debug-errors-jobs.exp
Log Message:
make: remove stray space in -de output in jobs mode
In compat mode, having a space i
Module Name:src
Committed By: christos
Date: Tue Apr 27 15:21:42 UTC 2021
Modified Files:
src/usr.bin/make: job.c
Log Message:
Print -de error information when running multiple jobs
Problem and patch description from https://reviews.freebsd.org/D29647:
When running `make
Module Name:src
Committed By: christos
Date: Tue Apr 27 15:19:26 UTC 2021
Modified Files:
src/usr.bin/make: compat.c
Log Message:
add const
To generate a diff of this commit:
cvs rdiff -u -r1.226 -r1.227 src/usr.bin/make/compat.c
Please note that diffs are not public do
Module Name:src
Committed By: rillig
Date: Sun Apr 25 21:05:38 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: cond-token-var.mk
Log Message:
tests/make: add tests for ${...} without operator in conditions
These tests are already covered in cond-cmp-unary.mk, but my
Module Name:src
Committed By: rillig
Date: Mon Apr 19 23:51:42 UTC 2021
Modified Files:
src/usr.bin/make: cond.c
src/usr.bin/make/unit-tests: varmod-ifelse.exp varmod-ifelse.mk
Log Message:
make: do not complain when skipping the condition 'no >= 10'
Seen in exter
Module Name:src
Committed By: rillig
Date: Mon Apr 19 23:43:15 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: varmod-ifelse.exp varmod-ifelse.mk
Log Message:
tests/make: add another example for parsing of the modifier ':?'
To generate a diff of this commit:
cvs rd
Module Name:src
Committed By: rillig
Date: Mon Apr 19 23:27:17 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: varmod-ifelse.exp varmod-ifelse.mk
Log Message:
tests/make: add detailed explanation for error message in conditional
To generate a diff of this commit:
c
Module Name:src
Committed By: rillig
Date: Mon Apr 19 22:22:27 UTC 2021
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: cond-late.exp cond1.exp varmod-ifelse.exp
varmod-ifelse.mk
Log Message:
make: use straight quotes for error 'Bad
Module Name:src
Committed By: rillig
Date: Mon Apr 19 22:05:29 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: varmod-ifelse.exp varmod-ifelse.mk
Log Message:
tests/make: demonstrate unexpected behavior of the modifier ':?'
To generate a diff of this commit:
cvs rd
Module Name:src
Committed By: rillig
Date: Mon Apr 19 16:35:11 UTC 2021
Modified Files:
src/usr.bin/make: main.c
Log Message:
make: avoid double slash in name of temporary directory
If the environment variable TMPDIR is not set, make uses a default path
that includes a tr
Module Name:src
Committed By: rillig
Date: Fri Apr 16 16:49:28 UTC 2021
Modified Files:
src/usr.bin/make: job.c
src/usr.bin/make/unit-tests: sh-jobs.mk
Log Message:
make: use distinct wording for writing to the shell commands file
The word 'write' now means to wri
Module Name:src
Committed By: rillig
Date: Fri Apr 16 16:10:01 UTC 2021
Modified Files:
src/usr.bin/make: job.c
Log Message:
make: align name of jobs_table_dump to the other functions
To generate a diff of this commit:
cvs rdiff -u -r1.427 -r1.428 src/usr.bin/make/job.c
Module Name:src
Committed By: rillig
Date: Thu Apr 15 19:06:43 UTC 2021
Modified Files:
src/usr.bin/make: job.c
Log Message:
make: remove type name for the abort status in job handling
To generate a diff of this commit:
cvs rdiff -u -r1.426 -r1.427 src/usr.bin/make/job.c
Module Name:src
Committed By: rillig
Date: Thu Apr 15 18:36:17 UTC 2021
Modified Files:
src/usr.bin/make: job.c
Log Message:
make: rename PrintOutput to PrintFilteredOutput to avoid confusion
In the default configuration, the function PrintOutput did nothing.
Only if the
Module Name:src
Committed By: rillig
Date: Thu Apr 15 18:21:27 UTC 2021
Modified Files:
src/usr.bin/make: job.c
Log Message:
make: document two previously unknown bugs in job mode
To generate a diff of this commit:
cvs rdiff -u -r1.424 -r1.425 src/usr.bin/make/job.c
Ple
Module Name:src
Committed By: rillig
Date: Wed Apr 14 17:39:11 UTC 2021
Modified Files:
src/usr.bin/make: make.h str.h
Log Message:
make: let the compiler decide whether to inline string functions
On x86_64, this reduces the binary size by 2 kB.
To generate a diff of th
Module Name:src
Committed By: rillig
Date: Wed Apr 14 17:24:48 UTC 2021
Modified Files:
src/usr.bin/make: main.c
Log Message:
make: turn run-time string concatenation into compile-time
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.537 -r1.538
Module Name:src
Committed By: rillig
Date: Wed Apr 14 17:20:48 UTC 2021
Modified Files:
src/usr.bin/make: main.c
src/usr.bin/make/unit-tests: varname-empty.exp
Log Message:
make: remove unnecessary modifier ':U' for certain fixed expressions
No functional change,
Module Name:src
Committed By: rillig
Date: Wed Apr 14 16:59:34 UTC 2021
Modified Files:
src/usr.bin/make: str.h var.c
Log Message:
make: reduce memory allocations in the modifiers ':D' and ':U'
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/
Module Name:src
Committed By: rillig
Date: Wed Apr 14 16:12:26 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: rename members of ModifyWord_LoopArgs
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.927 -r1.928 src/usr.bin/mak
Module Name:src
Committed By: rillig
Date: Wed Apr 14 15:41:08 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: clean up pattern flags for the modifiers ':S' and ':C'
No special handling is necessary for C90 since none of the struct
members is a const_m
Module Name:src
Committed By: rillig
Date: Mon Apr 12 18:53:51 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: spell SysV in mixed case
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.925 -r1.926 src/usr.bin/make/var.c
Plea
Module Name:src
Committed By: rillig
Date: Mon Apr 12 18:48:00 UTC 2021
Modified Files:
src/usr.bin/make: str.h var.c
Log Message:
make: reduce memory allocation and strlen calls in modifier ':from=to'
Previously, SysVMatch was quite verbose and felt like hand-optimized
a
Module Name:src
Committed By: rillig
Date: Mon Apr 12 16:09:57 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: varmod-sysv.exp varmod-sysv.mk
Log Message:
tests/make: fix test for modifier ':from=to'
I had forgotten to remove the single quotes, to produce a really e
Module Name:src
Committed By: rillig
Date: Mon Apr 12 16:04:31 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: varmod-sysv.exp varmod-sysv.mk
Log Message:
tests/make: add table test for the modifier ':from=to'
Just to prevent any accidental change in the upcoming re
Module Name:src
Committed By: rillig
Date: Mon Apr 12 13:28:35 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: in the ':Q' modifier, only allocate memory if necessary
To generate a diff of this commit:
cvs rdiff -u -r1.923 -r1.924 src/usr.bin/make/var
Module Name:src
Committed By: rillig
Date: Sun Apr 11 22:53:46 UTC 2021
Modified Files:
src/usr.bin/make: str.h var.c
Log Message:
make: improve performance for LazyBuf
The previous O(n^2) time complexity for parsing a long string with many
variable expressions was not me
Module Name:src
Committed By: rillig
Date: Sun Apr 11 21:29:57 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: remove redundant parameter from ParseVarnameLong
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.921 -r1.922 src/
Module Name:src
Committed By: rillig
Date: Sun Apr 11 20:38:43 UTC 2021
Modified Files:
src/usr.bin/make: str.h var.c
Log Message:
make: migrate ParseModifierPart to use Substring
This will reduce memory allocation for modifier parts without the escape
characters '$' or '
Module Name:src
Committed By: rillig
Date: Sun Apr 11 19:05:06 UTC 2021
Modified Files:
src/usr.bin/make: str.c str.h var.c
Log Message:
make: avoid unnecessary calls to strlen when evaluating modifiers
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Sun Apr 11 18:44:58 UTC 2021
Modified Files:
src/usr.bin/make: str.h var.c
Log Message:
make: migrate ModifyWord functions to use Substring
This benefits the modifiers ':T' and ':H' since these scan the word from
the end. The Sy
Module Name:src
Committed By: rillig
Date: Sun Apr 11 17:48:01 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: migrate handling of the modifier ':S,from,to,' to Substring
Right now this does not gain any performance, it only makes the code in
ModifyWor
Module Name:src
Committed By: rillig
Date: Sun Apr 11 13:35:56 UTC 2021
Modified Files:
src/usr.bin/make: nonints.h var.c
src/usr.bin/make/unit-tests: cond-func-empty.mk varmod-defined.mk
varmod-ifelse.mk varmod-loop.mk
Log Message:
make: clean up remai
Module Name:src
Committed By: rillig
Date: Sun Apr 11 12:46:55 UTC 2021
Modified Files:
src/usr.bin/make: hash.c hash.h var.c
Log Message:
make: avoid allocating memory for simple variable names
The main change is in ParseVarname, where a Buffer is replaced with the
newly
Module Name:src
Committed By: rillig
Date: Sun Apr 11 12:06:53 UTC 2021
Modified Files:
src/usr.bin/make: make.h nonints.h
Added Files:
src/usr.bin/make: str.h
Log Message:
make: add types Substring and LazyBuf
These will be used for making the string handling mor
Module Name:src
Committed By: rillig
Date: Sun Apr 11 11:41:27 UTC 2021
Modified Files:
src/usr.bin/make: Makefile
Log Message:
make: clean up Makefile
The dependencies on the header files are handled by 'make depend'. They
do not need to be spelled out.
To generate a
Module Name:src
Committed By: rillig
Date: Sat Apr 10 22:40:34 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: fix out-of-bounds read in Var_Parse_FastLane (since 30 minutes)
This bug made the test varmod-edge.mk fail sometimes with varying error
messa
Module Name:src
Committed By: rillig
Date: Sat Apr 10 22:35:02 UTC 2021
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: vardebug.exp varname-empty.exp
Log Message:
make: reword debug log message for empty variable name
The function names did n
Module Name:src
Committed By: rillig
Date: Sat Apr 10 22:09:54 UTC 2021
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: vardebug.exp varmod-indirect.exp
varmod-match-escape.exp varname-empty.exp varname.exp
Log Message:
make: reduce
1 - 100 of 3230 matches
Mail list logo