summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-05-03 19:53:19 +0000
committerRoland McGrath <roland@redhat.com>1995-05-03 19:53:19 +0000
commit13e8568f03c66f35dde43e05cd80b4884bcb39d5 (patch)
tree38f2c91a47c4dc598d7634c9ac60d2200d9f4ea0
parentcebdba9dfac165b2d76d8efd84ed836634c4c1c7 (diff)
downloadgunmake-13e8568f03c66f35dde43e05cd80b4884bcb39d5.tar.gz
(print_file): Grok update_status of 1 for -q.
-rw-r--r--file.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/file.c b/file.c
index 1668506..82e7442 100644
--- a/file.c
+++ b/file.c
@@ -21,6 +21,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "dep.h"
#include "file.h"
#include "variable.h"
+#include <assert.h>
/* Hash table of files the makefile knows how to make. */
@@ -497,6 +498,10 @@ print_file (f)
puts ("# Successfully updated.");
break;
case 1:
+ assert (question_flag);
+ puts ("# Needs to be updated (-q is set).");
+ break;
+ case 2:
puts ("# Failed to be updated.");
break;
default: