History log of /freebsd-current/contrib/bmake/mk/dirdeps.mk
Revision Date Author Comments
# c9f4001f 13-May-2024 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20240508

Merge commit '3c2ab5fddc576e58f3ffa70dc5fa95144646a513'


# d5e0a182 13-Jan-2024 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20240108


# 98875883 17-Sep-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230909

Merge commit '1012cf15f75d1e9048779abd07270a37cdba590a'


# 148ee845 27-Jun-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230622

Merge commit '3e39ce563b9ba25883e5aa37d9799eda9e57c1e0'


# c1d01b5f 13-May-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230510

Merge commit '945078deae448e0a13c34b3393d836087719fb16'


# 8c973ee2 24-Apr-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230414

Merge commit '51d8a8b4ac1dd7265e891149e470a803906de2a7'


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 9f45a3c8 05-Feb-2022 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20220204


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# b0c40a00 25-Jun-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_merge


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# 06b9b3e0 13-Jan-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210110

Quite a lot of churn on style, but lots of
good work refactoring complicated functions
and lots more unit-tests.
Thanks mostly to rillig at NetBSD

Some interesting entries from ChangeLog

o .MAKE.{UID,GID} represent uid and gid running make.

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o add more unit tests for META MODE

Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main

Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 2c3632d1 05-Sep-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200902

Lots of code refactoring, simplification and cleanup.
Lots of new unit-tests providing much higher code coverage.
All courtesy of rillig at netbsd.

Other significant changes:

o new read-only variable .SHELL which provides the path of the shell
used to run scripts (as defined by the .SHELL target).

o variable parsing detects more errors.

o new debug option -dl: LINT mode, does the equivalent of := for all
variable assignments so that file and line number are reported for
variable parse errors.


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 2eae894c 06-Dec-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update bmake to version 20180919

Cleanup of stats cache
and new :q modifier.


# 494f7191 18-May-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20180512

Skip polling job token pipe,
better handle sysV style includes with variables.


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 8695518c 15-Jul-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Import bmake-20170711


# cac6fd11 10-May-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170510

No-op change other than version update.


# b46b9039 14-Apr-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake 20170413


# 1ce939a7 06-Mar-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170301


# 45447996 19-Dec-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20161212


# 95e3ed2c 08-Sep-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20170818

This version has some new knobs for dealing with troublesome targets
in meta mode.


# e48f47dd 20-May-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160512


# 3bebe729 18-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20160315

Archive member handling works again
meta mode, treat missing reads as for writes.

Update dirdeps.mk - much improved startup time.
Update meta.stage.mk - avoid ln when chmod required.


# be19d90b 10-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160307


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# 128a4105 10-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150606

Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.


# 28a6bc81 10-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150505 improve detection of malformed conditionals.


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# d5e0a182 13-Jan-2024 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20240108


# 98875883 17-Sep-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230909

Merge commit '1012cf15f75d1e9048779abd07270a37cdba590a'


# 148ee845 27-Jun-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230622

Merge commit '3e39ce563b9ba25883e5aa37d9799eda9e57c1e0'


# c1d01b5f 13-May-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230510

Merge commit '945078deae448e0a13c34b3393d836087719fb16'


# 8c973ee2 24-Apr-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230414

Merge commit '51d8a8b4ac1dd7265e891149e470a803906de2a7'


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 9f45a3c8 05-Feb-2022 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20220204


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# b0c40a00 25-Jun-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_merge


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# 06b9b3e0 13-Jan-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210110

Quite a lot of churn on style, but lots of
good work refactoring complicated functions
and lots more unit-tests.
Thanks mostly to rillig at NetBSD

Some interesting entries from ChangeLog

o .MAKE.{UID,GID} represent uid and gid running make.

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o add more unit tests for META MODE

Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main

Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 2c3632d1 05-Sep-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200902

Lots of code refactoring, simplification and cleanup.
Lots of new unit-tests providing much higher code coverage.
All courtesy of rillig at netbsd.

Other significant changes:

o new read-only variable .SHELL which provides the path of the shell
used to run scripts (as defined by the .SHELL target).

o variable parsing detects more errors.

o new debug option -dl: LINT mode, does the equivalent of := for all
variable assignments so that file and line number are reported for
variable parse errors.


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 2eae894c 06-Dec-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update bmake to version 20180919

Cleanup of stats cache
and new :q modifier.


# 494f7191 18-May-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20180512

Skip polling job token pipe,
better handle sysV style includes with variables.


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 8695518c 15-Jul-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Import bmake-20170711


# cac6fd11 10-May-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170510

No-op change other than version update.


# b46b9039 14-Apr-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake 20170413


# 1ce939a7 06-Mar-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170301


# 45447996 19-Dec-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20161212


# 95e3ed2c 08-Sep-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20170818

This version has some new knobs for dealing with troublesome targets
in meta mode.


# e48f47dd 20-May-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160512


# 3bebe729 18-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20160315

Archive member handling works again
meta mode, treat missing reads as for writes.

Update dirdeps.mk - much improved startup time.
Update meta.stage.mk - avoid ln when chmod required.


# be19d90b 10-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160307


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# 128a4105 10-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150606

Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.


# 28a6bc81 10-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150505 improve detection of malformed conditionals.


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 98875883 17-Sep-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230909

Merge commit '1012cf15f75d1e9048779abd07270a37cdba590a'


# 148ee845 27-Jun-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230622

Merge commit '3e39ce563b9ba25883e5aa37d9799eda9e57c1e0'


# c1d01b5f 13-May-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230510

Merge commit '945078deae448e0a13c34b3393d836087719fb16'


# 8c973ee2 24-Apr-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230414

Merge commit '51d8a8b4ac1dd7265e891149e470a803906de2a7'


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 9f45a3c8 05-Feb-2022 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20220204


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# b0c40a00 25-Jun-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_merge


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# 06b9b3e0 13-Jan-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210110

Quite a lot of churn on style, but lots of
good work refactoring complicated functions
and lots more unit-tests.
Thanks mostly to rillig at NetBSD

Some interesting entries from ChangeLog

o .MAKE.{UID,GID} represent uid and gid running make.

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o add more unit tests for META MODE

Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main

Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 2c3632d1 05-Sep-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200902

Lots of code refactoring, simplification and cleanup.
Lots of new unit-tests providing much higher code coverage.
All courtesy of rillig at netbsd.

Other significant changes:

o new read-only variable .SHELL which provides the path of the shell
used to run scripts (as defined by the .SHELL target).

o variable parsing detects more errors.

o new debug option -dl: LINT mode, does the equivalent of := for all
variable assignments so that file and line number are reported for
variable parse errors.


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 2eae894c 06-Dec-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update bmake to version 20180919

Cleanup of stats cache
and new :q modifier.


# 494f7191 18-May-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20180512

Skip polling job token pipe,
better handle sysV style includes with variables.


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 8695518c 15-Jul-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Import bmake-20170711


# cac6fd11 10-May-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170510

No-op change other than version update.


# b46b9039 14-Apr-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake 20170413


# 1ce939a7 06-Mar-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170301


# 45447996 19-Dec-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20161212


# 95e3ed2c 08-Sep-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20170818

This version has some new knobs for dealing with troublesome targets
in meta mode.


# e48f47dd 20-May-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160512


# 3bebe729 18-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20160315

Archive member handling works again
meta mode, treat missing reads as for writes.

Update dirdeps.mk - much improved startup time.
Update meta.stage.mk - avoid ln when chmod required.


# be19d90b 10-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160307


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# 128a4105 10-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150606

Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.


# 28a6bc81 10-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150505 improve detection of malformed conditionals.


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 148ee845 27-Jun-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230622

Merge commit '3e39ce563b9ba25883e5aa37d9799eda9e57c1e0'


# c1d01b5f 13-May-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230510

Merge commit '945078deae448e0a13c34b3393d836087719fb16'


# 8c973ee2 24-Apr-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230414

Merge commit '51d8a8b4ac1dd7265e891149e470a803906de2a7'


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 9f45a3c8 05-Feb-2022 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20220204


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# b0c40a00 25-Jun-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_merge


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# 06b9b3e0 13-Jan-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210110

Quite a lot of churn on style, but lots of
good work refactoring complicated functions
and lots more unit-tests.
Thanks mostly to rillig at NetBSD

Some interesting entries from ChangeLog

o .MAKE.{UID,GID} represent uid and gid running make.

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o add more unit tests for META MODE

Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main

Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 2c3632d1 05-Sep-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200902

Lots of code refactoring, simplification and cleanup.
Lots of new unit-tests providing much higher code coverage.
All courtesy of rillig at netbsd.

Other significant changes:

o new read-only variable .SHELL which provides the path of the shell
used to run scripts (as defined by the .SHELL target).

o variable parsing detects more errors.

o new debug option -dl: LINT mode, does the equivalent of := for all
variable assignments so that file and line number are reported for
variable parse errors.


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 2eae894c 06-Dec-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update bmake to version 20180919

Cleanup of stats cache
and new :q modifier.


# 494f7191 18-May-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20180512

Skip polling job token pipe,
better handle sysV style includes with variables.


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 8695518c 15-Jul-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Import bmake-20170711


# cac6fd11 10-May-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170510

No-op change other than version update.


# b46b9039 14-Apr-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake 20170413


# 1ce939a7 06-Mar-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170301


# 45447996 19-Dec-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20161212


# 95e3ed2c 08-Sep-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20170818

This version has some new knobs for dealing with troublesome targets
in meta mode.


# e48f47dd 20-May-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160512


# 3bebe729 18-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20160315

Archive member handling works again
meta mode, treat missing reads as for writes.

Update dirdeps.mk - much improved startup time.
Update meta.stage.mk - avoid ln when chmod required.


# be19d90b 10-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160307


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# 128a4105 10-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150606

Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.


# 28a6bc81 10-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150505 improve detection of malformed conditionals.


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 8c973ee2 24-Apr-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230414

Merge commit '51d8a8b4ac1dd7265e891149e470a803906de2a7'


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 9f45a3c8 05-Feb-2022 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20220204


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# b0c40a00 25-Jun-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_merge


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# 06b9b3e0 13-Jan-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210110

Quite a lot of churn on style, but lots of
good work refactoring complicated functions
and lots more unit-tests.
Thanks mostly to rillig at NetBSD

Some interesting entries from ChangeLog

o .MAKE.{UID,GID} represent uid and gid running make.

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o add more unit tests for META MODE

Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main

Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 2c3632d1 05-Sep-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200902

Lots of code refactoring, simplification and cleanup.
Lots of new unit-tests providing much higher code coverage.
All courtesy of rillig at netbsd.

Other significant changes:

o new read-only variable .SHELL which provides the path of the shell
used to run scripts (as defined by the .SHELL target).

o variable parsing detects more errors.

o new debug option -dl: LINT mode, does the equivalent of := for all
variable assignments so that file and line number are reported for
variable parse errors.


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 2eae894c 06-Dec-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update bmake to version 20180919

Cleanup of stats cache
and new :q modifier.


# 494f7191 18-May-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20180512

Skip polling job token pipe,
better handle sysV style includes with variables.


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 8695518c 15-Jul-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Import bmake-20170711


# cac6fd11 10-May-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170510

No-op change other than version update.


# b46b9039 14-Apr-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake 20170413


# 1ce939a7 06-Mar-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170301


# 45447996 19-Dec-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20161212


# 95e3ed2c 08-Sep-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20170818

This version has some new knobs for dealing with troublesome targets
in meta mode.


# e48f47dd 20-May-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160512


# 3bebe729 18-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20160315

Archive member handling works again
meta mode, treat missing reads as for writes.

Update dirdeps.mk - much improved startup time.
Update meta.stage.mk - avoid ln when chmod required.


# be19d90b 10-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160307


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# 128a4105 10-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150606

Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.


# 28a6bc81 10-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150505 improve detection of malformed conditionals.


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 9f45a3c8 05-Feb-2022 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20220204


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# b0c40a00 25-Jun-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_merge


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# 06b9b3e0 13-Jan-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210110

Quite a lot of churn on style, but lots of
good work refactoring complicated functions
and lots more unit-tests.
Thanks mostly to rillig at NetBSD

Some interesting entries from ChangeLog

o .MAKE.{UID,GID} represent uid and gid running make.

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o add more unit tests for META MODE

Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main

Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 2c3632d1 05-Sep-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200902

Lots of code refactoring, simplification and cleanup.
Lots of new unit-tests providing much higher code coverage.
All courtesy of rillig at netbsd.

Other significant changes:

o new read-only variable .SHELL which provides the path of the shell
used to run scripts (as defined by the .SHELL target).

o variable parsing detects more errors.

o new debug option -dl: LINT mode, does the equivalent of := for all
variable assignments so that file and line number are reported for
variable parse errors.


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 2eae894c 06-Dec-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update bmake to version 20180919

Cleanup of stats cache
and new :q modifier.


# 494f7191 18-May-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20180512

Skip polling job token pipe,
better handle sysV style includes with variables.


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 8695518c 15-Jul-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Import bmake-20170711


# cac6fd11 10-May-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170510

No-op change other than version update.


# b46b9039 14-Apr-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake 20170413


# 1ce939a7 06-Mar-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170301


# 45447996 19-Dec-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20161212


# 95e3ed2c 08-Sep-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20170818

This version has some new knobs for dealing with troublesome targets
in meta mode.


# e48f47dd 20-May-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160512


# 3bebe729 18-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20160315

Archive member handling works again
meta mode, treat missing reads as for writes.

Update dirdeps.mk - much improved startup time.
Update meta.stage.mk - avoid ln when chmod required.


# be19d90b 10-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160307


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# 128a4105 10-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150606

Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.


# 28a6bc81 10-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150505 improve detection of malformed conditionals.


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 9f45a3c8 05-Feb-2022 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20220204


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# b0c40a00 25-Jun-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_merge


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# 06b9b3e0 13-Jan-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210110

Quite a lot of churn on style, but lots of
good work refactoring complicated functions
and lots more unit-tests.
Thanks mostly to rillig at NetBSD

Some interesting entries from ChangeLog

o .MAKE.{UID,GID} represent uid and gid running make.

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o add more unit tests for META MODE

Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main

Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 2c3632d1 05-Sep-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200902

Lots of code refactoring, simplification and cleanup.
Lots of new unit-tests providing much higher code coverage.
All courtesy of rillig at netbsd.

Other significant changes:

o new read-only variable .SHELL which provides the path of the shell
used to run scripts (as defined by the .SHELL target).

o variable parsing detects more errors.

o new debug option -dl: LINT mode, does the equivalent of := for all
variable assignments so that file and line number are reported for
variable parse errors.


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 2eae894c 06-Dec-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update bmake to version 20180919

Cleanup of stats cache
and new :q modifier.


# 494f7191 18-May-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20180512

Skip polling job token pipe,
better handle sysV style includes with variables.


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 8695518c 15-Jul-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Import bmake-20170711


# cac6fd11 10-May-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170510

No-op change other than version update.


# b46b9039 14-Apr-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake 20170413


# 1ce939a7 06-Mar-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170301


# 45447996 19-Dec-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20161212


# 95e3ed2c 08-Sep-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20170818

This version has some new knobs for dealing with troublesome targets
in meta mode.


# e48f47dd 20-May-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160512


# 3bebe729 18-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20160315

Archive member handling works again
meta mode, treat missing reads as for writes.

Update dirdeps.mk - much improved startup time.
Update meta.stage.mk - avoid ln when chmod required.


# be19d90b 10-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160307


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# 128a4105 10-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150606

Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.


# 28a6bc81 10-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150505 improve detection of malformed conditionals.


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# b0c40a00 25-Jun-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_merge


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# 06b9b3e0 13-Jan-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210110

Quite a lot of churn on style, but lots of
good work refactoring complicated functions
and lots more unit-tests.
Thanks mostly to rillig at NetBSD

Some interesting entries from ChangeLog

o .MAKE.{UID,GID} represent uid and gid running make.

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o add more unit tests for META MODE

Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main

Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 2c3632d1 05-Sep-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200902

Lots of code refactoring, simplification and cleanup.
Lots of new unit-tests providing much higher code coverage.
All courtesy of rillig at netbsd.

Other significant changes:

o new read-only variable .SHELL which provides the path of the shell
used to run scripts (as defined by the .SHELL target).

o variable parsing detects more errors.

o new debug option -dl: LINT mode, does the equivalent of := for all
variable assignments so that file and line number are reported for
variable parse errors.


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 2eae894c 06-Dec-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update bmake to version 20180919

Cleanup of stats cache
and new :q modifier.


# 494f7191 18-May-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20180512

Skip polling job token pipe,
better handle sysV style includes with variables.


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 8695518c 15-Jul-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Import bmake-20170711


# cac6fd11 10-May-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170510

No-op change other than version update.


# b46b9039 14-Apr-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake 20170413


# 1ce939a7 06-Mar-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170301


# 45447996 19-Dec-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20161212


# 95e3ed2c 08-Sep-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20170818

This version has some new knobs for dealing with troublesome targets
in meta mode.


# e48f47dd 20-May-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160512


# 3bebe729 18-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20160315

Archive member handling works again
meta mode, treat missing reads as for writes.

Update dirdeps.mk - much improved startup time.
Update meta.stage.mk - avoid ln when chmod required.


# be19d90b 10-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160307


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# 128a4105 10-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150606

Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.


# 28a6bc81 10-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150505 improve detection of malformed conditionals.


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# b0c40a00 25-Jun-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_merge


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# 06b9b3e0 13-Jan-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210110

Quite a lot of churn on style, but lots of
good work refactoring complicated functions
and lots more unit-tests.
Thanks mostly to rillig at NetBSD

Some interesting entries from ChangeLog

o .MAKE.{UID,GID} represent uid and gid running make.

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o add more unit tests for META MODE

Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main

Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 2c3632d1 05-Sep-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200902

Lots of code refactoring, simplification and cleanup.
Lots of new unit-tests providing much higher code coverage.
All courtesy of rillig at netbsd.

Other significant changes:

o new read-only variable .SHELL which provides the path of the shell
used to run scripts (as defined by the .SHELL target).

o variable parsing detects more errors.

o new debug option -dl: LINT mode, does the equivalent of := for all
variable assignments so that file and line number are reported for
variable parse errors.


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 2eae894c 06-Dec-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update bmake to version 20180919

Cleanup of stats cache
and new :q modifier.


# 494f7191 18-May-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20180512

Skip polling job token pipe,
better handle sysV style includes with variables.


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 8695518c 15-Jul-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Import bmake-20170711


# cac6fd11 10-May-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170510

No-op change other than version update.


# b46b9039 14-Apr-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake 20170413


# 1ce939a7 06-Mar-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20170301


# 45447996 19-Dec-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20161212


# 95e3ed2c 08-Sep-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20170818

This version has some new knobs for dealing with troublesome targets
in meta mode.


# e48f47dd 20-May-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160512


# 3bebe729 18-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20160315

Archive member handling works again
meta mode, treat missing reads as for writes.

Update dirdeps.mk - much improved startup time.
Update meta.stage.mk - avoid ln when chmod required.


# be19d90b 10-Mar-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160307


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# 128a4105 10-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150606

Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.


# 28a6bc81 10-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150505 improve detection of malformed conditionals.


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)