mirror of
https://github.com/mirror/make.git
synced 2025-01-19 08:40:13 +08:00
(update_file_1): Handle FILE->update_status == 2 in -d printout.
This commit is contained in:
parent
cc35ff7381
commit
fe05aaf7f2
7
remake.c
7
remake.c
@ -573,14 +573,17 @@ update_file_1 (file, depth)
|
|||||||
|
|
||||||
switch (file->update_status)
|
switch (file->update_status)
|
||||||
{
|
{
|
||||||
case 1:
|
case 2:
|
||||||
DEBUGPR ("Failed to remake target file `%s'.\n");
|
DEBUGPR ("Failed to remake target file `%s'.\n");
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
DEBUGPR ("Successfully remade target file `%s'.\n");
|
DEBUGPR ("Successfully remade target file `%s'.\n");
|
||||||
break;
|
break;
|
||||||
|
case 1:
|
||||||
|
DEBUGPR ("Target file `%s' needs remade under -q.\n");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
assert (file->update_status == 0 || file->update_status == 1);
|
assert (file->update_status >= 0 && file->update_status <= 2);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user