(update_file_1): Handle FILE->update_status == 2 in -d printout.
authorRoland McGrath <roland@redhat.com>
Fri, 24 Mar 1995 05:40:22 +0000 (05:40 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 24 Mar 1995 05:40:22 +0000 (05:40 +0000)
remake.c

index 2a882b30c29ee2a8a16db3eb6cfc9828109dca21..9a75434a4441ad390e518b557a088227bcb41209 100644 (file)
--- 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;
     }