[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] make branch, master, updated. 4.4.1-128-gaa8626ce
From: |
Paul D. Smith |
Subject: |
[SCM] make branch, master, updated. 4.4.1-128-gaa8626ce |
Date: |
Wed, 2 Oct 2024 01:15:04 -0400 (EDT) |
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 aa8626ce09317151f59490ebd5673afdedb3e1f2 (commit)
via 93704dd565e12a81f44ad4e98abfbef82227f63e (commit)
via 101bf5636f416ce7b4d97597348906be2c30ff87 (commit)
via 9251546bac031db325da80c4a8429db67c5578f7 (commit)
via 7dc23aff3001d22384caef9a1197f970c5f0b845 (commit)
via 0267eb64fa88a9de75da80d97a55f0beb1bc50e3 (commit)
via bba4427b5dfba7f9cdab8fa2cac1399fceda3058 (commit)
via c23a7e623209dae6fb36366c2e717690c9bfa042 (commit)
via 4d3bf7838f555f4da67c59f3b302750ac3a87ae8 (commit)
via 8c8c7fc2269df027d1591a6e4a4873f773a2d53f (commit)
via 9fee98f8436a21a1332b6e849259c88a322dcff1 (commit)
via f800f8bae35e26475956c715efcad24f64b969d9 (commit)
via 39a4c8106297632831f642267d0f3b80bb5dae3b (commit)
via d97e048b08707a2918c13d314a61357a649be9d7 (commit)
from c63a5bc6a2881d515bb3020ed477fcba08fb2f3d (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 aa8626ce09317151f59490ebd5673afdedb3e1f2
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date: Tue Oct 1 22:27:25 2024 -0400
[SV 66273] Double-colon targets must not be intermediate
An explicitly mentioned double-colon target cannot be intermediate.
* src/read.c (record_files): Set file->is_explicit in the case of an
explicitly mentioned file built by a double colon rule.
* src/file.c (print_file): Have print_file print whether a file is
explicitly mentioned.
* tests/scripts/features/patternrules: Add tests.
commit 93704dd565e12a81f44ad4e98abfbef82227f63e
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date: Tue Oct 1 22:14:31 2024 -0400
[SV 66268] Include newlines in file removal error message
* src/file.c (remove_intermediates): Fix an error message about a
failure to remove an intermediate file.
* tests/scripts/features/patternrules: Add tests.
commit 101bf5636f416ce7b4d97597348906be2c30ff87
Author: Paul Smith <psmith@gnu.org>
Date: Mon Sep 2 16:23:36 2024 -0400
* doc/make.texi: Clarify -j versus -jN behavior
commit 9251546bac031db325da80c4a8429db67c5578f7
Author: Sergei Trofimovich <siarheit@google.com>
Date: Tue Jun 18 22:37:54 2024 +0100
Fix biased shuffle by avoiding already "struck" elements
Artem Klimov noticed that current shuffle implementation suffers from
probability bias due to a typical bug in the shuffling implementation.
When we consider already shuffled element we slightly bias their
propability.
https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#The_modern_algorithm
suggests shuffling each "struck" element only once.
Before the change probabilities of 4-element array to land from `i`
index to `j` index are:
0 1 2 3
_____ _____ _____ _____
0 | 25.00 29.30 24.60 21.10
1 | 25.00 22.25 28.13 24.63
2 | 25.00 23.44 22.26 29.30
3 | 25.00 25.01 25.01 24.98
Note that `0->1` probability is almost 29% while `0->3` os only 21%.
After the change probabilities are not as biased:
0 1 2 3
_____ _____ _____ _____
0 | 24.99 24.99 25.01 25.01
1 | 24.99 25.04 24.99 24.99
2 | 25.01 25.00 25.00 24.99
3 | 25.01 24.98 25.00 25.01
* src/shuffle.c (random_shuffle_array): Fix biased shuffle by avoiding
already "struck" elements.
commit 7dc23aff3001d22384caef9a1197f970c5f0b845
Author: Paul Smith <psmith@gnu.org>
Date: Mon Sep 2 14:53:44 2024 -0400
* doc/make.texi: GNUMAKEFLAGS is only read from the environment
commit 0267eb64fa88a9de75da80d97a55f0beb1bc50e3
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon Aug 5 01:39:18 2024 -0700
Check for snprintf truncation on W32
* src/main.c (find_and_set_default_shell) [MK_OS_W32]:
Do not use a buffer that snprintf truncated.
commit bba4427b5dfba7f9cdab8fa2cac1399fceda3058
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon Aug 5 01:30:44 2024 -0700
Fix unlikely pointer overflow in abspath
* src/function.c (abspath): len is now ptrdiff_t,
to avoid GCC warning about comparing signed to unsigned.
It really is a pointer difference, after all.
Rejigger comparision to avoid undefined behavior
if dest + len is an invalid pointer.
commit c23a7e623209dae6fb36366c2e717690c9bfa042
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon Aug 5 01:21:09 2024 -0700
Prefer memcpy to strncpy if either will do
strncpy is trickier and a bit slower.
* src/function.c (func_realpath, func_abspath):
* src/misc.c (xstrndup):
Prefer memcpy or mempcpy to strncpy when the source length is known.
commit 4d3bf7838f555f4da67c59f3b302750ac3a87ae8
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon Aug 5 01:04:13 2024 -0700
Omit unused PATH_MAX code
* src/makeint.h (GET_PATH_MAX, PATH_VAR):
Simplify, since PATH_MAX is always defined here.
(NEED_GET_PATH_MAX): Remove.
* src/misc.c (get_path_max) [NEED_GET_PATH_MAX]: Remove.
commit 8c8c7fc2269df027d1591a6e4a4873f773a2d53f
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon Aug 5 00:44:28 2024 -0700
Avoid strlen calls after sprintf
* src/file.c (file_timestamp_sprintf):
* src/function.c (func_words, func_call):
* src/job.c (child_error):
* src/main.c (define_makeflags):
* src/output.c (message, error, fatal):
Use return value from sprintf instead of calling strlen
on the resulting buffer.
commit 9fee98f8436a21a1332b6e849259c88a322dcff1
Author: Paul Smith <psmith@gnu.org>
Date: Mon Sep 2 12:35:58 2024 -0400
[SV 65759] Document special handling of "-" command line option
* doc/make.1: Add information on "-" option handling.
* doc/make.texi: Ditto.
commit f800f8bae35e26475956c715efcad24f64b969d9
Author: Dan D <bulk88@hotmail.com>
Date: Mon Sep 2 09:54:17 2024 -0400
[SV 65777] Add more const
Add more const to static arrays. On some systems this allows more
data to be placed in RO segments and shared between multiple
instances of the make executable. Anyway more const is good hygiene.
* src/default.c: Add const to arrays.
* src/function.c: Ditto.
* src/hash.c: Ditto.
* src/hash.h: Ditto.
* src/job.c: Ditto.
* src/read.c: Ditto.
* src/remake.c: Ditto.
* src/rule.c: Ditto.
* src/rule.h: Ditto.
commit 39a4c8106297632831f642267d0f3b80bb5dae3b
Author: Paul Smith <psmith@gnu.org>
Date: Sun Sep 1 21:12:37 2024 -0400
Remove obsolete email address for the FSF
* doc/make.texi: Use the newer email address in the manual.
* gl/lib/fnmatch.c: Use a URL instead of a street address.
* gl/lib/fnmatch.in.h: Ditto.
* gl/lib/glob.c: Ditto.
* gl/lib/glob.in.h: Ditto.
commit d97e048b08707a2918c13d314a61357a649be9d7
Author: Paul Smith <psmith@gnu.org>
Date: Sun Sep 1 21:09:42 2024 -0400
* bootstrap.conf: Update to newer prerequisites
-----------------------------------------------------------------------
Summary of changes:
bootstrap.conf | 6 +--
doc/make.1 | 8 ++++
doc/make.texi | 86 ++++++++++++++++++++++++-------------
gl/lib/fnmatch.c | 5 +--
gl/lib/fnmatch.in.h | 5 +--
gl/lib/glob.c | 5 +--
gl/lib/glob.in.h | 5 +--
src/default.c | 18 ++++----
src/file.c | 22 ++++++----
src/function.c | 27 ++++++------
src/hash.c | 6 +--
src/hash.h | 4 +-
src/job.c | 49 +++++++++++----------
src/main.c | 24 +++++++----
src/makeint.h | 11 +----
src/misc.c | 21 +--------
src/output.c | 35 ++++++---------
src/read.c | 24 +++++------
src/remake.c | 4 +-
src/rule.c | 2 +-
src/rule.h | 2 +-
src/shuffle.c | 8 +++-
tests/scripts/features/patternrules | 32 ++++++++++++++
23 files changed, 224 insertions(+), 185 deletions(-)
hooks/post-receive
--
make
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] make branch, master, updated. 4.4.1-128-gaa8626ce,
Paul D. Smith <=