summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-05-08 16:50:58 +0000
committerPaul Smith <psmith@gnu.org>2005-05-08 16:50:58 +0000
commite4c14a675ca6df1f31aac5d4571be695d76a7fd0 (patch)
tree0c3946b0ed44e85bf40600947b01b70cf299eac3 /remake.c
parent9d5b5bd2f57cad88b2ea689bdce4f3d8662e73a4 (diff)
downloadgunmake-e4c14a675ca6df1f31aac5d4571be695d76a7fd0.tar.gz
Document the secondary expansion method. Also, some other documentation
cleanups. If we find a make error (invalid makefile syntax or something like that) write back any tokens we have before we exit. If we have waiting jobs (using -j + -l) set an alarm before we sleep on the read() system call, so we can wake up to check the load and start waiting jobs, if there are long-running jobs we would otherwise be waiting for. Suggested by Grant Taylor.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remake.c b/remake.c
index f7cfafb..5f82f03 100644
--- a/remake.c
+++ b/remake.c
@@ -1331,7 +1331,7 @@ name_mtime (char *name)
if (e != 0)
{
if (errno != ENOENT && errno != ENOTDIR)
- perror_with_name ("stat:", name);
+ perror_with_name ("stat: ", name);
return NONEXISTENT_MTIME;
}
mtime = FILE_TIMESTAMP_STAT_MODTIME (name, st);