summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-03-24 05:40:22 +0000
committerRoland McGrath <roland@redhat.com>1995-03-24 05:40:22 +0000
commitfe05aaf7f250ca7d794fb1c064921e1aa03e9ec1 (patch)
tree81f7b9cda4a8925b3ba95fb4a631ec7da2cc66b3 /remake.c
parentcc35ff7381795cc4c1415f62fa0a840a91c94c89 (diff)
downloadgunmake-fe05aaf7f250ca7d794fb1c064921e1aa03e9ec1.tar.gz
(update_file_1): Handle FILE->update_status == 2 in -d printout.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/remake.c b/remake.c
index 2a882b3..9a75434 100644
--- a/remake.c
+++ b/remake.c
@@ -573,14 +573,17 @@ update_file_1 (file, depth)
switch (file->update_status)
{
- case 1:
+ case 2:
DEBUGPR ("Failed to remake target file `%s'.\n");
break;
case 0:
DEBUGPR ("Successfully remade target file `%s'.\n");
break;
+ case 1:
+ DEBUGPR ("Target file `%s' needs remade under -q.\n");
+ break;
default:
- assert (file->update_status == 0 || file->update_status == 1);
+ assert (file->update_status >= 0 && file->update_status <= 2);
break;
}