make-alpha
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] make branch, master, updated. 4.4-29-g15dfad96


From: Paul D. Smith
Subject: [SCM] make branch, master, updated. 4.4-29-g15dfad96
Date: Sat, 24 Dec 2022 10:55:52 -0500 (EST)

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  15dfad96d77c9445d11be939a5042675e4ca8c65 (commit)
       via  76d2e5d98dbbf655f74f6ef2f6dd3cdd45052ea0 (commit)
      from  a581146562009407649b85fac48f4e7cafe5eaa0 (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 15dfad96d77c9445d11be939a5042675e4ca8c65
Author: Paul Smith <psmith@gnu.org>
Date:   Sat Dec 24 10:30:13 2022 -0500

    [SV 63439, SV 63452] Don't warn on undefined internal variables
    
    Don't generate undefined variable warnings for variables that are
    internal / special to make and where the empty string is valid.
    Rather than defining them to empty, which could introduce unwanted
    behavior, keep a list of variable names which we should never warn
    about.
    
    * src/variable.h (warn_undefined): Convert the macro to a function.
    * src/variable.c (defined_vars): Always "defined" variable names.
    (warn_undefined): Implement as a function and check against the
    defined_vars before generating a warning.
    * src/read.c (read_all_makefiles): No need to reset warning flag.
    * src/vpath.c (build_vpath_lists): Ditto.
    * tests/scripts/options/warn-undefined-variables: Expand all the
    pre-defined variables to ensure warnings are not generated.

commit 76d2e5d98dbbf655f74f6ef2f6dd3cdd45052ea0
Author: Paul Smith <psmith@gnu.org>
Date:   Sat Dec 24 09:26:24 2022 -0500

    [SV 63552] Change directories before constructing include paths
    
    * src/makeint.h (reset_makeflags): New function to handle changing
    MAKEFLAGS from within makefiles.  Remove decode_env_switches().
    * src/variable.c (set_special_var): Call reset_makeflags() instead
    of various internal methods.
    * src/main.c (decode_env_switches): Only internal now so make static.
    (decode_switches): Don't invoke construct_include_path() yet.
    (reset_makeflags): Decode env switches and construct include paths.
    (main): Construct include paths after we process -C options.
    * tests/scripts/options/dash-C: Rewrite to use new test constructs.
    Add a test using both -C and -I together.
    Add a test for multiple -C options.

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

Summary of changes:
 src/main.c                                     | 20 +++++--
 src/makeint.h                                  |  4 +-
 src/read.c                                     | 10 +---
 src/variable.c                                 | 34 ++++++++++--
 src/variable.h                                 | 10 +---
 src/vpath.c                                    | 30 ++--------
 tests/scripts/options/dash-C                   | 76 +++++++++++---------------
 tests/scripts/options/warn-undefined-variables | 13 +++++
 8 files changed, 98 insertions(+), 99 deletions(-)


hooks/post-receive
-- 
make



reply via email to

[Prev in Thread] Current Thread [Next in Thread]