summaryrefslogtreecommitdiff
path: root/commands.c
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
commit6e57418f74e81d1385d41d0dc239fb608526be52 (patch)
tree78e7e64f0c47dff023bebe15ee57b85f8db6a826 /commands.c
parent580b4c5cc99fc5e04b5bd314d1e4c4cd7e13a35c (diff)
downloadmake-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 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index 7bd9531b..94c4867f 100644
--- a/commands.c
+++ b/commands.c
@@ -181,7 +181,7 @@ set_file_variables (struct file *file)
memcpy (cp, c, len);
cp += len;
*cp++ = FILE_LIST_SEPARATOR;
- if (! d->changed)
+ if (! (d->changed || always_make_flag))
qmark_len -= len + 1; /* Don't space in $? for this one. */
}