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-27-ga5811465


From: Paul D. Smith
Subject: [SCM] make branch, master, updated. 4.4-27-ga5811465
Date: Tue, 20 Dec 2022 02:27:26 -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  a581146562009407649b85fac48f4e7cafe5eaa0 (commit)
       via  b2c74460237f7609564bc80641acff9cf6cb0f7d (commit)
       via  89427039c3b8204e7e86a5caa1522a2756872d4f (commit)
       via  7d8756a4a369fcc389ada4d916d6b687b8391eee (commit)
       via  8e805c7ba66b731cdd8284940f1a807ccd0d5cd4 (commit)
       via  132528b266eae090458ee35d37ce63246932a1a7 (commit)
       via  8f9e7722ff0f80d9f6ae9aba350ae02c3c6db878 (commit)
       via  95c2db7b8d95529e00dd2988c0b3901a0cb9aa17 (commit)
       via  5d1b757517b5ef3db5b7150fbcf7a310a3c627ce (commit)
       via  c0023150f176a91526d88b45eb02334add9059e1 (commit)
       via  a89eef87e6782179a7ab10824fe0cf3cbe48d3ee (commit)
      from  6164608900ad5cc882d4d4bf1b7341d45d743bdf (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 a581146562009407649b85fac48f4e7cafe5eaa0
Author: Paul Smith <psmith@gnu.org>
Date:   Mon Dec 19 00:24:42 2022 -0500

    tests [WINDOWS32]: Support Strawberry Perl on Windows
    
    Strawberry Perl has some different behaviors from ActiveState Perl
    which impact the test suite:
    
    - Avoid Perl's chomp() as it may not remove CRs; chomp() may remove
      only the final NL but not the CR in a CRNL line ending.
    - Strawberry Perl doesn't support ActiveState's system(1, ...) form.
    - Strawberry Perl (or msys?) does something weird with "/tmp" when
      provided to exec(), replacing it with the user's %TEMP%.
    - Strawberry Perl uses msys paths like /c/foo instead of C:\foo.
    
    * tests/test_driver.pl (get_osname): Strawberry Perl uses 'msys' as
    its $^O so if we see that use a port of 'W32'.
    (_run_with_timeout): Strawberry Perl doesn't support the special
    system(1, ...) form of system() so use POSIX standard fork/exec.
    (compare_answer): Paths generated by Strawberry Perl use msys path
    format (e.g., /c/foo instead of C:\foo); check for those differences
    and compare RE against both the unmodified and modified log.
    * tests/run_make_tests.pl (set_defaults): Switch from chomp to s///
    to remove CRNL and NL line endings.
    * tests/scripts/features/errors: Executing directories on Strawberry
    will give an error; translate it to Windows error output format.
    * tests/scripts/features/output-sync: Ditto.
    * tests/scripts/features/temp_stdin: Ditto.
    * tests/scripts/functions/realpath: Ditto.
    * tests/scripts/options/dash-I: Ditto.
    * tests/scripts/variables/INCLUDE_DIRS: Ditto.
    * tests/scripts/misc/close_stdout: /dev/full is reported as existing
    on Strawberry Perl, but it doesn't do anything.  Skip the test.
    * tests/scripts/variables/MAKEFLAGS: When an argument containing
    /tmp is passed to a program via exec(), something replaces it with
    the expansion of the %TEMP% variable.  Instead of using /tmp create
    a local directory to use.

commit b2c74460237f7609564bc80641acff9cf6cb0f7d
Author: Paul Smith <psmith@gnu.org>
Date:   Tue Dec 20 02:06:03 2022 -0500

    * tests/test_driver.pl: Remember if something failed and report it

commit 89427039c3b8204e7e86a5caa1522a2756872d4f
Author: Paul Smith <psmith@gnu.org>
Date:   Mon Dec 19 00:20:06 2022 -0500

    [WINDOWS32] Remove CRNL from FormatMessage() result string
    
    Sometimes the error message is expected to contain a newline, other
    times it is not.  Also the result of FormatMessage() sometimes ends
    in CRNL already: when printed via fprintf() the final newline is
    converted to CRNL, giving an output of CRCRNL which causes tests
    to fail to match.  Remove any CR/NL chars from the result string.
    
    * src/job.c (reap_children): Add \n to the error message fprintf.
    (exec_command): Ditto.
    * src/w32/subproc/w32err.c (map_windows32_error_to_string): Remove
    any trailing CR or NL from the string before returning.

commit 7d8756a4a369fcc389ada4d916d6b687b8391eee
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date:   Sun Dec 18 10:29:17 2022 -0500

    [SV 63537] Document and test flippable switches
    
    * doc/make.texi (Options/Recursion): Clarify that MAKEFLAGS values
    from the environment have precedence over those set in the makefile.
    * tests/scripts/variables/MAKEFLAGS: Check boolean switches -k/-S,
    -w/--no-print-directory and -s/--no-silent as follows:
    1. A switch can be enabled or disabled on the command line.
    2. A switch can be enabled or disabled in env.
    3. A switch can be enabled or disabled in makefile.
    4. Command line beats env and makefile.
    5. Env beats makefile.
    6. MAKEFLAGS contains each specified switch at parse and build time.
    7. If switches are specified in multiple origins, MAKEFLAGS contains
       the winning switch at parse and build time.
    8. MAKEFLAGS does not contain the losing switch.
    Also test that --debug settings from different origins are combined
    together into one option.

commit 8e805c7ba66b731cdd8284940f1a807ccd0d5cd4
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date:   Sun Dec 18 14:43:41 2022 -0500

    [SV 63537] Pass enabled-by-default switches to submake
    
    Certain switches, such as -S or --no-silent, turn on behavior that is
    enabled by default.  When a switch is specified via the command line,
    makefile, or env, ensure the switch is added to MAKEFLAGS.
    
    * src/main.c (struct command_switch): Add bit "specified".
    (switches): Initialize command_switch->specified.
    (decode_switches): Set command_switch->specified.
    (define_makeflags): Check command_switch->specified.

commit 132528b266eae090458ee35d37ce63246932a1a7
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date:   Sun Dec 18 10:01:30 2022 -0500

    [SV 63537] Remember the origin of command line options
    
    Certain options can be flipped on and off: -k/-S, -s/--no-silent, and
    -w/--no-print-directory.  Ensure they behave as follows:
     1. A switch can be enabled or disabled on the command line.
     2. A switch can be enabled or disabled in env.
     3. A switch can be enabled or disabled in makefile.
     4. Command line beats env and makefile.
     5. Env beats makefile.
    
    * src/main.c: Add variables to hold the origin of relevant options.
    (struct command_switch): Add origin field.
    (switches): Set a pointer to hold the origin of relevant options.
    (decode_switches): For any switch that can be specified in makefile or
    env, honor the switch only if cs->origin is not set or the specified
    origin beats cs->origin.  Set cs->origin when relevant.

commit 8f9e7722ff0f80d9f6ae9aba350ae02c3c6db878
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date:   Sun Dec 18 09:49:34 2022 -0500

    [SV 63537] Fix setting -w in makefiles
    
    * src/makeint.h: Replace print_directory flag with should_print_dir().
    * src/main.c (main): Remove print_directory flag and related code.
    (should_print_dir): Create.
    * src/output.c (output_dump): Use should_print_dir().
    (output_start): Ditto.

commit 95c2db7b8d95529e00dd2988c0b3901a0cb9aa17
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date:   Sat Dec 17 14:12:41 2022 -0500

    [SV 63484] Force included makefiles to be explicit
    
    Ensure included makefiles are not treated as intermediate, even if
    they are created by an implicit rule.
    Reported by Patrick Oppenlander <patrick.oppenlander@gmail.com>.
    
    * src/read.c (eval_makefile): Mark makefiles as explicit.
    * tests/scripts/features/include: Add a test.

commit 5d1b757517b5ef3db5b7150fbcf7a310a3c627ce
Author: Paul Smith <psmith@gnu.org>
Date:   Sat Dec 17 11:01:31 2022 -0500

    [SV 63516] [DOS] Support include files with drivespecs
    
    * src/makeint.h (HAVE_DRIVESPEC): Create a macro to check.
    * src/main.c (.FEATURES): Add "dospaths" as a feature.
    * src/read.c (eval_makefile) [DOS]: If the included makefile name
    starts with a drivespec, don't search the include directories.
    * doc/make.texi (Include): Document this behavior.
    * tests/scripts/features/include: Add a test.

commit c0023150f176a91526d88b45eb02334add9059e1
Author: Paul Smith <psmith@gnu.org>
Date:   Sat Dec 17 14:01:02 2022 -0500

    * src/job.c (new_job): [SV 63510] Trace phony prerequisite rebuilds

commit a89eef87e6782179a7ab10824fe0cf3cbe48d3ee
Author: Paul Smith <psmith@gnu.org>
Date:   Sun Dec 18 14:40:26 2022 -0500

    * configure.ac: Update for a new release
    
    * README.git: Add some packages needed for building from Git.
    * AUTHORS: Updates.

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

Summary of changes:
 AUTHORS                              |   1 +
 README.git                           |   9 +-
 configure.ac                         |   2 +-
 doc/make.texi                        |  29 +-
 src/job.c                            |  55 +++-
 src/main.c                           | 231 +++++++++------
 src/makeint.h                        |  19 +-
 src/output.c                         |   5 +-
 src/read.c                           |   6 +-
 src/w32/subproc/sub_proc.c           |   2 +-
 src/w32/subproc/w32err.c             |  72 ++---
 tests/run_make_tests.pl              |   2 +-
 tests/scripts/features/errors        |  27 +-
 tests/scripts/features/include       |  27 +-
 tests/scripts/features/output-sync   |   2 +-
 tests/scripts/features/temp_stdin    |   2 +-
 tests/scripts/functions/realpath     |   2 +-
 tests/scripts/misc/close_stdout      |   3 +
 tests/scripts/options/dash-I         |   2 +-
 tests/scripts/options/dash-s         |   8 +-
 tests/scripts/variables/INCLUDE_DIRS |   2 +-
 tests/scripts/variables/MAKEFLAGS    | 553 ++++++++++++++++++++++++++++++++++-
 tests/test_driver.pl                 |  41 ++-
 23 files changed, 900 insertions(+), 202 deletions(-)


hooks/post-receive
-- 
make



reply via email to

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