summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2009-09-16 17:07:01 +0000
committerPaul Smith <psmith@gnu.org>2009-09-16 17:07:01 +0000
commit8f30b68871bde8687c7fcff8bac66e2b5765129e (patch)
tree78e7e64f0c47dff023bebe15ee57b85f8db6a826 /ChangeLog
parent5abe47762071f024409f7fd16c9cb76b31833379 (diff)
downloadgunmake-8f30b68871bde8687c7fcff8bac66e2b5765129e.tar.gz
- Add xcalloc() and call it
- Fix memory errors found by valgrind - Remove multi_glob() and empower parse_file_seq() to do its job: the goal here is to remove the confusing reverse/re-reverse we do on the file lists: needed for future fixes. - Add a prefix arg to parse_file_seq() - Make concat() variadic so it can take arbitrary #'s of strings
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog49
1 files changed, 49 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a994791..03f9145 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,52 @@
+2009-09-16 Paul Smith <psmith@gnu.org>
+
+ * misc.c (alloc_dep, free_dep): Now that we have xcalloc(),
+ convert to macros.
+ * dep.h: Create alloc_dep() / free_dep() macros.
+
+ * implicit.c (pattern_search): Take advantage of the new
+ parse_file_seq() to add the directory prefix to each prereq.
+
+ * dep.h: Remove multi_glob() and enhance parse_file_seq() to do it
+ all. Avoid reversing chains. Support adding prefixes.
+ * read.c (parse_file_seq): Rewrite to support globbing. Allow for
+ cached/non-cached results.
+ (eval): Remove multi_glob() & invoke new parse_file_seq().
+ * rule.c (install_pattern_rule): Ditto.
+ * main.c (main): Ditto.
+ * implicit.c (pattern_search): Ditto.
+ * function.c (string_glob): Ditto.
+ * file.c (parse_prereqs): Ditto.
+ * default.c (set_default_suffixes): Ditto.
+
+ * variable.c (parse_variable_definition): Don't run off the end of
+ the string if it ends in whitespace (found with valgrind).
+
+ * commands.c (set_file_variables): Keep space for all targets in
+ $? if -B is given (found with valgrind).
+
+2009-09-15 Paul Smith <psmith@gnu.org>
+
+ * misc.c (concat): Make concat() variadic so it takes >3 arguments.
+ (xcalloc): Add new function.
+ * make.h: New declarations.
+
+ * ar.c (ar_glob_match): New calling method for concat().
+ * main.c (main): Ditto.
+ (decode_env_switches): Ditto.
+ * read.c (eval_makefile): Ditto.
+ (tilde_expand): Ditto.
+ (parse_file_seq): Ditto.
+ * variable.c (target_environment): Ditto.
+ (sync_Path_environment): Ditto.
+
+ * ar.c (ar_glob_match): Use xcalloc().
+ * dir.c (file_impossible): Ditto.
+ * file.c (enter_file): Ditto.
+ * job.c (new_job): Ditto.
+ * read.c (parse_file_seq): Ditto.
+ * vmsfunctions.c (opendir): Ditto.
+
2009-09-14 Rafi Einstein <rafi.einstein@gmail.com> (tiny patch)
* w32/subproc/sub_proc.c (process_begin): Check *ep non-NULL