git: vendor/BMAKE vendor/bmake: upgrade from 20210314 to 20220928

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Wed Nov 9 07:58:30 PST 2022


commit 6eef5f0c4fcdca6bfaf703d2e142acf41491a269
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Wed Nov 9 12:50:16 2022 +0100

    vendor/bmake: upgrade from 20210314 to 20220928
    
    Summary of notable changes:
    
     o Fix bug in .break reset of conditional depth.
     o Man page updates.
     o Allow .break to terminate a .for loop early.
     o Fix exit status for '-q' (since 1994)
     o fix memory leak for filenames in .for loops
     o job.c: fix handling of null bytes in output.
     o cond.c:
       - add more details to error message for numeric comparison.
       - fix mem leak in CondParser_Leaf
     o var.c:
       - fix out-of-bounds errors when parsing.
       -fix memory leak in error case of the ':?' modifier
     o lst.c: fix mem leak in Lst_Remove
     o parse.c:
       - fix out-of-bounds read when parsing an invalid line.
       - fix memory leak in wildcard targets and sources
       - fix off-by-one error in buffer for .WAIT nodes
    
    For detailed list see ChangeLog.

Summary of changes:
 contrib/bmake/ChangeLog             |  637 ++++
 contrib/bmake/FILES                 |   81 +-
 contrib/bmake/Makefile              |   38 +-
 contrib/bmake/Makefile.config.in    |    3 +-
 contrib/bmake/_strtol.h             |  213 ++
 contrib/bmake/arch.c                |  265 +-
 contrib/bmake/bmake.1               | 1581 +++++-----
 contrib/bmake/bmake.cat1            | 1159 ++++----
 contrib/bmake/boot-strap            |   17 +-
 contrib/bmake/bsd.after-import.mk   |    3 +-
 contrib/bmake/buf.c                 |   26 +-
 contrib/bmake/buf.h                 |   20 +-
 contrib/bmake/compat.c              |  226 +-
 contrib/bmake/cond.c                |  934 +++---
 contrib/bmake/config.h.in           |  155 +-
 contrib/bmake/configure             | 5416 ++++++++++++++++++++---------------
 contrib/bmake/configure.in          |  233 +-
 contrib/bmake/dir.c                 |  106 +-
 contrib/bmake/dir.h                 |   16 +-
 contrib/bmake/enum.c                |   80 -
 contrib/bmake/enum.h                |  239 --
 contrib/bmake/find_lib.sh           |    7 +
 contrib/bmake/for.c                 |  374 ++-
 contrib/bmake/hash.c                |   75 +-
 contrib/bmake/hash.h                |   39 +-
 contrib/bmake/job.c                 |  568 ++--
 contrib/bmake/job.h                 |   46 +-
 contrib/bmake/lst.c                 |   12 +-
 contrib/bmake/lst.h                 |   32 +-
 contrib/bmake/main.c                |  802 +++---
 contrib/bmake/make-bootstrap.sh.in  |    2 +-
 contrib/bmake/make.1                | 1581 +++++-----
 contrib/bmake/make.c                |  325 ++-
 contrib/bmake/make.h                |  848 ++++--
 contrib/bmake/make_malloc.c         |   12 +-
 contrib/bmake/make_malloc.h         |   26 +-
 contrib/bmake/meta.c                |  438 +--
 contrib/bmake/meta.h                |   12 +-
 contrib/bmake/metachar.c            |    6 +-
 contrib/bmake/metachar.h            |   16 +-
 contrib/bmake/mk/ChangeLog          |  258 ++
 contrib/bmake/mk/FILES              |    3 +
 contrib/bmake/mk/auto.dep.mk        |   52 +-
 contrib/bmake/mk/autoconf.mk        |   23 +-
 contrib/bmake/mk/autodep.mk         |    7 +-
 contrib/bmake/mk/cc-wrap.mk         |   66 +
 contrib/bmake/mk/compiler.mk        |   10 +-
 contrib/bmake/mk/dep.mk             |    4 +-
 contrib/bmake/mk/dirdeps-options.mk |   16 +-
 contrib/bmake/mk/dirdeps.mk         |  234 +-
 contrib/bmake/mk/doc.mk             |    4 +-
 contrib/bmake/mk/dpadd.mk           |    9 +-
 contrib/bmake/mk/final.mk           |    4 +-
 contrib/bmake/mk/gendirdeps.mk      |    7 +-
 contrib/bmake/mk/host-target.mk     |    7 +-
 contrib/bmake/mk/init.mk            |   10 +-
 contrib/bmake/mk/install-mk         |   14 +-
 contrib/bmake/mk/java.mk            |    4 +-
 contrib/bmake/mk/ldorder.mk         |    4 +-
 contrib/bmake/mk/lib.mk             |    6 +-
 contrib/bmake/mk/man.mk             |   54 +-
 contrib/bmake/mk/meta.autodep.mk    |   14 +-
 contrib/bmake/mk/meta.stage.mk      |   13 +-
 contrib/bmake/mk/meta.sys.mk        |   26 +-
 contrib/bmake/mk/meta2deps.py       |  115 +-
 contrib/bmake/mk/meta2deps.sh       |   36 +-
 contrib/bmake/mk/mk-files.txt       |   93 +-
 contrib/bmake/mk/mkopt.sh           |   31 +-
 contrib/bmake/mk/obj.mk             |    4 +-
 contrib/bmake/mk/options.mk         |   38 +-
 contrib/bmake/mk/own.mk             |    6 +-
 contrib/bmake/mk/posix.mk           |  104 +
 contrib/bmake/mk/prlist.mk          |    4 +-
 contrib/bmake/mk/prog.mk            |   18 +-
 contrib/bmake/mk/rst2htm.mk         |    6 +-
 contrib/bmake/mk/stage-install.sh   |   10 +-
 contrib/bmake/mk/sys.clean-env.mk   |   10 +-
 contrib/bmake/mk/sys.mk             |   12 +-
 contrib/bmake/mk/sys.vars.mk        |   26 +-
 contrib/bmake/mk/sys/AIX.mk         |    3 +-
 contrib/bmake/mk/sys/Darwin.mk      |    3 +-
 contrib/bmake/mk/sys/Generic.mk     |    6 +-
 contrib/bmake/mk/sys/HP-UX.mk       |    5 +-
 contrib/bmake/mk/sys/IRIX.mk        |    3 +-
 contrib/bmake/mk/sys/Linux.mk       |    9 +-
 contrib/bmake/mk/sys/NetBSD.mk      |    3 +-
 contrib/bmake/mk/sys/OSF1.mk        |    5 +-
 contrib/bmake/mk/sys/OpenBSD.mk     |    3 +-
 contrib/bmake/mk/sys/SCO_SV.mk      |   13 +
 contrib/bmake/mk/sys/SunOS.mk       |    5 +-
 contrib/bmake/mk/sys/UnixWare.mk    |   27 +-
 contrib/bmake/mk/yacc.mk            |   26 +-
 contrib/bmake/mkdeps.sh             |    9 +-
 contrib/bmake/nonints.h             |  416 ---
 contrib/bmake/os.sh                 |   17 +-
 contrib/bmake/parse.c               | 2257 +++++++--------
 contrib/bmake/sigact.h              |  104 +
 contrib/bmake/sigaction.c           |  397 +++
 contrib/bmake/sigcompat.c           |    4 +-
 contrib/bmake/str.c                 |  218 +-
 contrib/bmake/str.h                 |  349 +++
 contrib/bmake/strlcpy.c             |    5 +-
 contrib/bmake/suff.c                |  248 +-
 contrib/bmake/targ.c                |  126 +-
 contrib/bmake/trace.c               |   19 +-
 contrib/bmake/util.c                |  123 +-
 contrib/bmake/var.c                 | 3221 +++++++++++----------
 107 files changed, 14656 insertions(+), 10999 deletions(-)
 create mode 100644 contrib/bmake/_strtol.h
 delete mode 100755 contrib/bmake/enum.c
 delete mode 100755 contrib/bmake/enum.h
 create mode 100644 contrib/bmake/mk/cc-wrap.mk
 mode change 100755 => 100644 contrib/bmake/mk/install-mk
 create mode 100644 contrib/bmake/mk/posix.mk
 create mode 100644 contrib/bmake/mk/sys/SCO_SV.mk
 delete mode 100644 contrib/bmake/nonints.h
 create mode 100644 contrib/bmake/sigact.h
 create mode 100644 contrib/bmake/sigaction.c
 create mode 100644 contrib/bmake/str.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6eef5f0c4fcdca6bfaf703d2e142acf41491a269


-- 
DragonFly BSD source repository


More information about the Commits mailing list