]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Import bmake-20200704
authorSimon J. Gerraty <sjg@FreeBSD.org>
Wed, 8 Jul 2020 18:32:15 +0000 (18:32 +0000)
committerSimon J. Gerraty <sjg@FreeBSD.org>
Wed, 8 Jul 2020 18:32:15 +0000 (18:32 +0000)
commit1a2b743f6b4022dada4eeaa96ac47a5c1a2429f5
treed24792918468eb00f02c40f6f05a4de720d20fef
parent6e0296234fdf9b27f5b0d9f884223b7c2b5b3d03
Import bmake-20200704

from ChangeLog:

    (most of this by rillig@)
    o lots of style and white-space cleanup
    o lots more unit tests for variable modifiers
    o simplified description of some functions
    o str.c: refactor Str_Match
    o var.c: debugging output for :@
      constify VarModify parameter
      fix :hash modifier on 16-bit platforms
      remove unnecessary forward declarations
      refactor ApplyModifier_SysV to have less indentation
      simplify code for :E and :R
      clean up code for :H and :T
      refactor ApplyModifiers

    * var.c: we need stdint.h on some platforms to get uint32_t
    * unit-test/Makefile: we need to supress the specific error
    for RE substitution error in modmisc, since it varies accross
    different OS.
60 files changed:
ChangeLog
VERSION
arch.c
buf.c
compat.c
cond.c
dir.c
for.c
hash.c
hash.h
job.c
job.h
lst.lib/lstAppend.c
lst.lib/lstAtEnd.c
lst.lib/lstAtFront.c
lst.lib/lstClose.c
lst.lib/lstConcat.c
lst.lib/lstDatum.c
lst.lib/lstDeQueue.c
lst.lib/lstDupl.c
lst.lib/lstEnQueue.c
lst.lib/lstFind.c
lst.lib/lstFindFrom.c
lst.lib/lstFirst.c
lst.lib/lstForEach.c
lst.lib/lstForEachFrom.c
lst.lib/lstInit.c
lst.lib/lstInsert.c
lst.lib/lstIsAtEnd.c
lst.lib/lstIsEmpty.c
lst.lib/lstLast.c
lst.lib/lstNext.c
lst.lib/lstOpen.c
lst.lib/lstPrev.c
lst.lib/lstRemove.c
lst.lib/lstReplace.c
lst.lib/lstSucc.c
main.c
make.c
make.h
make_malloc.c
meta.c
meta.h
nonints.h
parse.c
str.c
suff.c
targ.c
trace.c
unit-tests/Makefile
unit-tests/cond-short.exp
unit-tests/cond-short.mk
unit-tests/modmisc.exp
unit-tests/modmisc.mk
unit-tests/sysv.exp
unit-tests/sysv.mk
unit-tests/varmisc.exp
unit-tests/varmisc.mk
util.c
var.c