From 955899ef770fc289febe3f186e4533e09baa7076 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 25 Mar 2003 00:15:25 +0000 Subject: Commit fix for bug #1418. Upgrade to require autoconf 2.56. Fix a pathological performance hit substituting in large values with lots of words. --- remake.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'remake.c') diff --git a/remake.c b/remake.c index e6dac0f..a13a9a4 100644 --- a/remake.c +++ b/remake.c @@ -748,7 +748,8 @@ notice_finished_file (struct file *file) have_nonrecursing: if (file->phony) file->update_status = 0; - else + /* According to POSIX, -t doesn't affect targets with no cmds. */ + else if (file->cmds != 0) { /* Should set file's modification date and do nothing else. */ file->update_status = touch_file (file); -- cgit v1.2.3