lp://qastaging/make
- Get this branch:
- bzr branch lp://qastaging/make
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at git://git.sv.gnu.org/make.git.
Last successful import was .
Recent revisions
- 3173. By Paul Smith
-
[SV 67046] Don't modify the hash table when inside hash_map*()
It's illegal for the user-supplied function to modify the hash table
while executing hash_map*() methods. snap_file() may add elements
due to EXTRA_PREREQS, so we can't call it via hash_map_args().Diagnosis and test by Shim Manning <email address hidden>
Possible fix by Dmitry Goncharov <email address hidden>* src/hash.h (hash_table): Remember when we're in hash_map*().
* src/hash.c (hash_init): Initialize the in-map value to false.
(hash_map): Set the in-map value to true when walking the map.
(hash_map_arg): Ditto.
(hash_insert_at): Assert we're not in hash_map*()
(hash_free_items): Ditto.
(hash_delete_items): Ditto.
(hash_free): Ditto.
* src/file.c (snap_deps): Use hash_dump() to create a copy of the
hash and walk that to call snap_file(), so we can add more files.
(snap_file): Since we're calling it directly, don't use void* args. - 3168. By Paul Smith
-
* tests/*: Quote backticked command paths
When using Perl's backticks make sure that the path to the command
invoked is quoted. On Windows, in particular, paths to commands such
as diff, etc. may contain whitespace. - 3167. By Paul Smith
-
[SV 64185] Clarify handling of directive lines starting with TAB
It's clear that this change causes too many problems to be made
without warning. Revert the change disallowing conditional lines to
start with TAB.Instead, generate warnings whenever a directive line begins with a
TAB character. Make this change for all directives, not just
conditional directives: define, undefine, export, unexport, vpath,
load, include, etc.* NEWS: Update the backward-
compatibility warning.
* src/read.c (eval): Track whether the line starts with a TAB.
If so then whenever we recognize a directive, emit a warning.
Revert the previous change for this bug.
(parse_var_assignment) : Accept a file location if the line begins
with TAB; show a warning if we discover a directive.
(conditional_line): Warn about lines starting with TAB.
* tests/scripts/...: Add tests to verify warnings for initial TAB. - 3166. By Paul Smith
-
* tests/scripts/*: Switch TAB chars to #TAB# markup
Avoid Emacs local variable settings to disable whitespace cleanup,
by creating markup tokens for TAB characters (#TAB#) and space
characters (#SPACE#) (for end-of-line spaces). Modify all the
tests that use TABs to use the new markup. This requires changing
some old-fashioned tests to use the modern run_make_test(). Also
remove some of the comments regarding test numbers now that the
framework keeps track. - 3164. By Ingo Rohloff <email address hidden>
-
* doc/make.texi: [SV 67428] Clarify $(findstring ...) docs
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)