[SCM] make branch, master, updated. 4.3-233-gee861a4e

"Paul D. Smith" <[email protected]> Mon, 12 Sep 2022 02:08:59 -0400 (EDT)
Newsgroups gmane.comp.gnu.make.devel
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "make".

The branch, master has been updated
       via  ee861a4e9f523d06d26ed612ad1a93b6ecb408de (commit)
       via  ca4234c4b550618df2194e0617c43bb12524f820 (commit)
       via  257b82ac1ff8ba13428b93ca774d44d1c2febb61 (commit)
       via  aac40044444ffdb194da3598a611260bb0e599f9 (commit)
       via  86fc644dcc99c1bbf4764d9b324b723f7ea5ce04 (commit)
      from  02b3a6ad46b827684b923bf619009ac06297ece9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ee861a4e9f523d06d26ed612ad1a93b6ecb408de
Author: Dmitry Goncharov <[email protected]>
Date:   Mon Sep 12 01:58:52 2022 -0400

    [SV 63045] Reload each intact unloaded shared object
    
    If makefile rules do not update an unloaded shared object, load it
    again.  Avoid double loading of the same object if the setup function
    returns -1.
    
    * src/filedef.h (struct file): Add "unloaded" flag.
    * src/makeint.h (load_file): Take struct file *.
    (unload_file): Return int.
    * src/main.c (main): Reload unloaded shared objects if they weren't
    updated.
    * src/commands.c (execute_file_commands): Set "unloaded" and reset
    "loaded" when a shared object is unloaded.
    * src/read.c (eval): Set "loaded" and reset "unloaded" when a shared
    object is loaded.  Add successfully loaded files to the db.
    * src/load.c (load_file): Check "loaded" to avoid double loading the
    same object.  Fix a memory leak of string loaded.  Return -1, rather
    than 1, if the object is already loaded. This fixes double loading of
    the same object when the setup routine returns -1.
    (load_object): Add a log message.
    (unload_file): Return an error on dlclose failure.  Log a message.
    * tests/scripts/features/loadapi: Add new tests.

commit ca4234c4b550618df2194e0617c43bb12524f820
Author: Sergei Trofimovich <[email protected]>
Date:   Sun Sep 11 21:28:59 2022 +0100

    [SV 63047] Fix shuffle of SECONDEXPANSION prerequisites
    
    Commit 07eea3aa4 `make --shuffle` prevented shuffling prerequisites
    that use .SECONDEXPANSION, since shuffle happens before expansion.
    This has two problems:
    1. No shuffling happens for such prerequisites.
    2. Use-after-free when outdated '->shuf' links are used.
    
    Add a reshuffle into expansion phase right after dependency changes.
    
    * src/file.c (expand_deps): Add reshuffle if dependencies change.
    * src/shuffle.c (identity_shuffle_array): Fix comment typo.
    * tests/scripts/options/shuffle: Add new SECONDEXPANSION test.

commit 257b82ac1ff8ba13428b93ca774d44d1c2febb61
Author: Paul Smith <[email protected]>
Date:   Sun Sep 11 14:37:10 2022 -0400

    * doc/make.texi (How Make Works): Clarify default goal exceptions.

commit aac40044444ffdb194da3598a611260bb0e599f9
Author: Paul Smith <[email protected]>
Date:   Sun Sep 11 14:04:58 2022 -0400

    * src/shuffle.c: Minor coding changes.

commit 86fc644dcc99c1bbf4764d9b324b723f7ea5ce04
Author: Paul Smith <[email protected]>
Date:   Sun Sep 11 10:56:08 2022 -0400

    Support the MAKE_TMPDIR environment variable
    
    Allow build systems to choose an alternative location for make to
    store its temporary files.
    
    * NEWS: Announce the new environment variable.
    * doc/make.texi (Temporary Files): Provide documentation.
    * src/misc.c (get_tmpdir): Split into a new function.  Compute the
    temporary directory and store it in a static location.
    * tests/scripts/features/jobserver: Add a test of MAKE_TMPDIR.

-----------------------------------------------------------------------

Summary of changes:
 NEWS                             |  8 ++++
 doc/make.texi                    | 64 ++++++++++++++++++++++---------
 src/commands.c                   | 13 +++++--
 src/file.c                       | 10 +++++
 src/filedef.h                    |  1 +
 src/load.c                       | 78 ++++++++++++++++++--------------------
 src/main.c                       | 18 +++++++++
 src/makeint.h                    |  6 ++-
 src/misc.c                       | 38 ++++++++++++-------
 src/read.c                       | 29 +++++++++-----
 src/shuffle.c                    | 60 +++++++++++++----------------
 tests/scripts/features/jobserver | 10 +++++
 tests/scripts/features/loadapi   | 82 ++++++++++++++++++++++++++++++++++++++++
 tests/scripts/options/shuffle    |  9 +++++
 14 files changed, 303 insertions(+), 123 deletions(-)


hooks/post-receive
-- 
make