mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-26 05:57:17 +00:00
(print_file): Grok update_status of 1 for -q.
This commit is contained in:
parent
cebdba9dfa
commit
13e8568f03
1 changed files with 5 additions and 0 deletions
5
file.c
5
file.c
|
@ -21,6 +21,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
#include "dep.h"
|
#include "dep.h"
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#include "variable.h"
|
#include "variable.h"
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
|
|
||||||
/* Hash table of files the makefile knows how to make. */
|
/* Hash table of files the makefile knows how to make. */
|
||||||
|
@ -497,6 +498,10 @@ print_file (f)
|
||||||
puts ("# Successfully updated.");
|
puts ("# Successfully updated.");
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
assert (question_flag);
|
||||||
|
puts ("# Needs to be updated (-q is set).");
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
puts ("# Failed to be updated.");
|
puts ("# Failed to be updated.");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue