diff options
author | Paul Smith <psmith@gnu.org> | 2009-09-16 17:07:01 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2009-09-16 17:07:01 +0000 |
commit | 6e57418f74e81d1385d41d0dc239fb608526be52 (patch) | |
tree | 78e7e64f0c47dff023bebe15ee57b85f8db6a826 /remake.c | |
parent | 580b4c5cc99fc5e04b5bd314d1e4c4cd7e13a35c (diff) | |
download | make-6e57418f74e81d1385d41d0dc239fb608526be52.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 'remake.c')
-rw-r--r-- | remake.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -870,7 +870,7 @@ notice_finished_file (struct file *file) really check the target's mtime again. Otherwise, assume the target would have been updated. */ - if (question_flag || just_print_flag || touch_flag && file->cmds != 0) + if ((question_flag || just_print_flag || touch_flag) && file->cmds) { for (i = file->cmds->ncommand_lines; i > 0; --i) if (! (file->cmds->lines_flags[i-1] & COMMANDS_RECURSE)) |