projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cebdba9
)
(print_file): Grok update_status of 1 for -q.
author
Roland McGrath
<roland@redhat.com>
Wed, 3 May 1995 19:53:19 +0000
(19:53 +0000)
committer
Roland McGrath
<roland@redhat.com>
Wed, 3 May 1995 19:53:19 +0000
(19:53 +0000)
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index 16685060df61327a45c465b3581280db0eee0f88..82e7442cd66d77ecdd87a0cf2bb21f996554f4e9 100644
(file)
--- 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: